Wednesday, July 13, 2016

Editing the host file on my RD server

This threw me a little.  Always clear, in hindsight.

My new RD server was put up this week.  A snapshot of our live moodle server, the one I plan on updating the WAMP on, so I can then upgrade the moodle past version 2.6.11.

I needed to modify the host file on the server.

In a snapshot nutshell.  Follow the nice pretty instructions on the page linked above to *redirect the DNS to the local ip address.  Essentially that says re-route the DNS I specify to the IP address I specify.  That IP address should be localhost.

On Windows server 2008 - the path is: c:\windows\systems32\drivers\etc\hosts.txt

I edit the file using Notepad.  This is what I did to the host file.
127.0.0.1       localhost
127.0.0.1 studentmoodle.accelerateu.org
127.0.0.1 xx.x.xx.x
The first line was already in the file, the second line says "when you encounter this DNS, make sure it stays on the local server, localhost.  The third line is the internal IP address of the live server - that may be lurking somewhere on the site, if it is, stay there.

No comments:

Post a Comment