Posts Tagged ‘a2’

setting up a domain-nameless domain

Monday, December 21st, 2009

My company’s website is being completely rewritten from scratch and I chose to move to A2hosting.com.  We are going with a Virtual Private Server (VPS) from them and have found a little difficulty setting up web access to it.

The main issue is that since the website is already up and running, I can’t just transfer the domain name to the new server and be done with it.  I need to be able to access the new website by just the IP address for a while, until we move the production site over to it.  This is not documented anywhere on A2hosting’s site that I could find.

The issue resides in the setup of IP address of the server through Kloxo.  I am unable to configure the domain to default to the domain of my choice.  The error checking of this function disallows the assigning of that domain name since the domain name does not currently resolve to the server’s IP address.The solution resides in the /etc/hosts file.  I had to set the IP to equate to the domain name that WILL be the correct name once the production site is moved over.

A quick little walkthrough:

Set the /etc/hosts file

IP Addresses link in Kloxo admin

IP Address table

IP Address info

Select the proper domain name for the IP Address

Hope this helps.

Till Next Time