Hostname Resolving to Different Account


Mar 2, 2004
Ok, I am kinda new to this hosting thing, but I bought a server a few weeks ago from EV1 and got it all setup. I created the hostname for the server as

but when you goto it goes to the first account I have on the server. I really don't want my customers to goto thier hostname and it goes to another site. I would either want it to goto my main site or just something else.

I changed the A entry for but then I get a email all the time that says its resolving to wrong IP, but it is how I want it then, so I dont know what to do.

Please help.

Website Rob

Well-Known Member
Mar 23, 2002
Alberta, Canada
cPanel Access Level
Root Administrator
Usually, the Apache Test Page is what shows for Server Base IP, which is what you are referring to.

In your httpd.conf file you scroll all the way down until you find the very first: NameVirtualHost entry. It should be your Base IP address. The entry right below it should be a VirtualHost entry for your Hostname.


NameVirtualHost xx.xx.xx.xx:80

<VirtualHost xx.xx.xx.xx>
BytesLog domlogs/
DocumentRoot /usr/local/apache/htdocs

Also make sure, in 'root' WHM, to click the link for:

DNS Functions > Add an A Entry for your Hostname