PDA

View Full Version : View site without domain


Toucan
25th January 2010, 23:41
I think I"ve seen this asked before but can't find it again...

Is it possible to view a web site hosted by ispconfig prior to the domain being resolved in DNS or even before registration?

The reason being, I have a couple of sites on other servers, I want to rebuild them on my own and then when I'm happy with them, switch the DNS settings to my own server.

damir
26th January 2010, 08:01
Such function does not exist in ISPConfig but you can do it by adding your site and ip to hosts file. If you are on Linux / Mac type:

sudo nano -w /etc/hosts

and type the following below other records. Change the ip and domain to yours.

192.168.1.10 sitetotest.com

In Windows this file is located under:

\Windows\system32\drivers\etc\

Now you can test sites before DNS change. Don't forget to remove them after the change of DNS :)

Toucan
27th January 2010, 11:45
ok that's great
i'll give it a try thanks