Hi,
This is great! I have run a few tests and it looks like everything
now works perfectly. I can edit pages with no problems now. One
thing I would add for the DNS setup information is that I originally
set up an A record to point to the wiki IP address of 184.168.221.25.
This was the URL forward which did not work with editing, user
creation, etc. I also tested the A record of wiki2 pointing to
217.116.232.203, but this failed and has been removed.
Now that the wiki is fully functional and I have the backup scripts
running, we just need to refine the MediaWiki settings. Oh, if you
are an accepted relax developer and would like to set up cronjobs for
backing up the wiki, just write a private email to Troels and myself
to get the secret login details. One example is that I think that
short URLs would be very useful
(http://www.mediawiki.org/wiki/Manual:Short_URL). So you should see
the following URL changes:
http://wiki.nmr-relax.com/index.php?title=Main_Page ->
http://wiki.nmr-relax.com
http://wiki.nmr-relax.com/index.php?title=Category:Tutorials ->
http://wiki.nmr-relax.com/Category:Tutorials
http://wiki.nmr-relax.com/index.php?title=Tutorial_for_adding_relaxation_dispersion_models_to_relax
->
http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax
http://wiki.nmr-relax.com/index.php?title=Parameter_error_analysis ->
http://wiki.nmr-relax.com/Parameter_error_analysis
This is the setup used for Wikipedia and lots of other wikis and is
easier on the user. It is also better for linking purposes. A major
benefit would be with search engines. The shortened URLs will make
it
much more friendly for users to find the wiki pages on the web. I am
using the Google Webmaster Tools as well as Google Analytics to help
optimise the relax webpages, and I can see that no pages have been
indexed yet despite me sending a direct request to index
http://wiki.nmr-relax.com and all nested links (back when this URL
was
working but there were DNS problems). I don't know if this is
because
of the long URLs, because of the original DNS problems or because of
some other problem. If we set up the shortened URLs, I will use
Webmaster Tools to get Google to fetch a number of pages on the wiki,
and to also submit them to the Google index. This will make the wiki
pages appear in Google searches (and then often in other search
engines) sooner.
Cheers,
Edward
On 19 July 2013 09:19, Troels Emtekær Linnet <tlinnet@xxxxxxxxx>
wrote:
Dear relax developers.
The relax wiki, has now finally found it's right place with the
right name.
http://wiki.nmr-relax.com
The wiki was up and running 19 of July 2013.
----------
For further reference for developers
-------
Since gna.org does not provide PHP and MySQL,
(see https://gna.org/cookbook/?func=detailitem&item_id=108 )
the wiki could not be hosted at gna.org.
I have access to a webhotel, gigahost.dk, which have these services.
It has been a little mystery, how to handle DNS settings, so the web
page naming would be correct.
The naming had to be:
http://wiki.nmr-relax.com
--------------------
For further references for future developers, the DNS setup is as
follows.
Note:
'A' records can only point to IP.
'CNAME' is aliases for A records. (Must have an A record somewhere),
and can only point to domain names.
### A ###) At godaddy, the DNS server for nmr-relax.com, the
settings are:
1) An URL forward for the naked domain nmr-relax.com to
www.nmr-relax.com
No frame, no wildcards.
2) A CNAME record for
www -> home.gna.org
(they have a setup, which then points to the SVN repository
''website'
directory)
Ref: https://gna.org/cookbook/?func=detailitem&item_id=107
Ref: http://svn.gna.org/viewcvs/relax/website/
3) A CNAME record for
wiki.nmr-relax.com -> nmr-relax.kimlinnet.dk
### B ###) At gratisdns.dk, the DNS server for kimlinnet.dk
1) An 'A' record for
nmr-relax.kimlinnet.dk -> 217.116.232.203
The request for wiki.nmr-relax.com will then be pointed to
217.116.232.203
for the directory www/wiki.nmr-relax.com/ (have to be positioned
gigahost.dk).
The request route can for example be seen by using:
http://www.hscripts.com/tools/HDNT/dns-record.php
Domain Type Class Result
wiki.nmr-relax.com. CNAME IN nmr-relax.kimlinnet.dk.
nmr-relax.kimlinnet.dk. A IN 217.116.232.203
At gigahost, I had to create the directory (create a domain without
DNS) at
www/wiki.nmr-relax.com/
And then it finally worked. :-)
Note:
The intermediate step at gratisdns.dk is probably not necessary.
An 'A' record at godaddy could have been directly created to point
to gigahost:
Example: wiki.nmr-relax.com -> 217.116.232.203
But with this setup, I gain control to later point to another
webhotel
(if necessary),
without the need to contact edward to change the godaddy DNS
service.
Best
Troels Emtekær Linnet
PhD student
Copenhagen University
SBiNLab, 3-0-41
Ole Maaloes Vej 5
2200 Copenhagen N
-----------
Problems which had troubled this setup.
-----------
Hopefully these notes save some time in the future for someone
If you at godaddy DNS, make a URL forward (within a frame), then the
name will always appear as
http://wiki.nmr-relax.com
and the generic name thing, will not work for user login, etc.
Then you could put at:
http://www.nmr-relax.com/wiki/index.html
---------------
<frameset rows="100%">
<frame src="http://nmr-relax.kimlinnet.dk/">
</frameset>
---------------
But that would just give the same behavior.
Then you can make a .htaccess file
http://www.nmr-relax.com/wiki/.htaccess
---------------
RewriteEngine on
RewriteRule ^(.*)$ http://nmr-relax.kimlinnet.dk/$1 [R=301,L]
--------------
But then the address WILL change to http://nmr-relax.kimlinnet.dk/,
which was not wished.
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-devel mailing list
relax-devel@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel