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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  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