Friday, January 17, 2014

Work on ISP Config site before domain name Resolves

Hi,

I would like to create a new site on my ISPConfig server and set it entirely up with content (html & database etc.) before moving the domain name over to the new IP address.

How can I access and work the site on the ISPConfig server, before the domain resolves? I believe there is a way using the server IP address?

i.e. http://xxx.xxx.xxx.xxx:8080/mysite.com or something to that extent?

Thanks in advance! 
 

  ANSWER:

 This will not work.

What does work is to add the domain in question to your hosts file pointing to the server.

If you are using Windows, open c:\windows\system32\drivers\etc\hosts
  AND
If you are using Linux , # sudo nano /etc/hosts
 
 In it add:
Code:
IP_OF_ISPconfig_SERVER      www.domainname.com
IP_OF_ISPconfig_SERVER      domainname.com
Now save the file, and restart your browser to reload the hosts file.
You should now be able to access the www.domainname.com
 

No comments:

Post a Comment