Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2004
    Posts
    15

    Lightbulb Hostname Resolving to Different Account

    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 w1.eleven2.com

    but when you goto w1.eleven2.com 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 w1.eleven2.com 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.

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    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.

    i.e.

    NameVirtualHost xx.xx.xx.xx:80

    <VirtualHost xx.xx.xx.xx>
    BytesLog domlogs/w1.eleven2.com.com-bytes_log
    ServerName w1.eleven2.com
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>

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

    DNS Functions > Add an A Entry for your Hostname
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

Similar Threads & Tags
Similar threads

  1. restore account..dns adds the resolving IPs instead of ours
    By hbidad in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-25-2007, 10:44 PM
  2. problem resolving MAIN account but not others! Please assist..
    By kappler0 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-04-2006, 08:00 PM
  3. Hostname DNS not resolving
    By mnstrgns in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-22-2005, 12:00 PM
  4. Problem resolving hostname
    By mb10175 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-17-2004, 10:27 AM
  5. Problem Moving and Resolving Account
    By rcthost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-16-2003, 02:18 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube