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!

How to make a website the server default website

Discussion in 'Workarounds and Optimization' started by Xtraball, Aug 28, 2017.

  1. Xtraball

    Xtraball Registered

    Joined:
    Aug 28, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Root Administrator
    Hi,

    We need to get our websites to be the default server website , I mean when you call http://xxx.xxx.xxx.xxx (using the IP address) , our website must appear .

    We are currently doing this using the pre virtual host include (copying the virtualhost from httpd.conf, this way the virtual host is the first one in httpd.conf) , but the major issue of doing so is that the copied code is not updated .

    Is there any other way to get this working without update issue ?

    Thanks for reading me, I hope I was clear enough to be understood .
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,183
    Likes Received:
    1,935
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Xtraball

    Xtraball Registered

    Joined:
    Aug 28, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Root Administrator
    Hi,

    Thank you your answer .
     
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