Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

help : alldomain redirect to first domain in my servrer

Discussion in 'General Discussion' started by arabiancoder, Dec 15, 2006.

  1. arabiancoder

    arabiancoder Registered

    Joined:
    May 23, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    hello

    all domains in server redirect to first domain in my server

    and all user can log in cpanel but apache turn to another site


    please help me !!:confused:
     
  2. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    166
    Did you check httpd.conf if all the virtualhost entries are there?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. arabiancoder

    arabiancoder Registered

    Joined:
    May 23, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    idont know all virtualhost right or wrong

    r ican rebuild virtual host again
     
  4. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    993
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    It''s supposed to work like that.

    Apache will always default fo the first available host in the VirtualHosts table is accessed via the IP address. If you want to change which hosts needs to be accessed by default, but that one at top, using the same format as in your httpd.conf file
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice