mailRe: Presenting the relax wiki at: http://wiki.nmr-relax.com , finally at the right name place


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Ryan Hoffman on July 20, 2013 - 00:40:
Hello,

I tried to create an account on the Wiki. The bot filter seems to be broken:

To help protect against automated account creation, please type the two words you see in the box below:

Input error: Invalid referer

Ryan


On Fri, Jul 19, 2013 at 12:19 AM, 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="" href="http://nmr-relax.kimlinnet.dk/" target="_blank">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


Related Messages


Powered by MHonArc, Updated Sat Jul 20 10:20:08 2013