The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Main Shared Virtual Host IP

Discussion in 'General Discussion' started by 50c, Jun 29, 2004.

  1. 50c

    50c Active Member

    Joined:
    Jun 26, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    Hi,
    i have the following problem:

    I installed my 2 nameservers 5 days ago, it seemd to work fine, no problems with resolving the ips of my server.

    I have set up some accounts and changed the nameservers of my website to the new NS.
    Now if i want to access the website the site starts to load but after a few seconds i get an error (The page cannot be displayed).

    I can not access the site via shared ip/~user also, but i can access it via main server ip/~user.
    I have tryied to add / at the end, but it works not on the shared ip.

    Something has to be messed up with the Main Shared Virtual Host IP.
    The ip is different than my main box ip. I have tryied to change the shared ip to the main box ip.. It worked but then the main server ip was assigned to the domain.
    Do i have to configure something?
    :mad:

    Pls Help

    THX

    50c
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have a look in /etc/httpd/conf/httpd.conf and search for the domain name in question. The IP address that Apache will respond to for that domain will be in the surrounding <VirtualHost 11.22.33.44> tag. Changing this may resolve your problem. If you do change it, reload Apache with::

    httpd graceful
     
  3. 50c

    50c Active Member

    Joined:
    Jun 26, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    thx man,
    i got an email today, the dumbasses from the datacenter gave me a worng ip...
    It works fine now.. :)
     
Loading...

Share This Page