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.

Redirect defaultwebpage.cgi

Discussion in 'General Discussion' started by lbh, May 27, 2017.

  1. lbh

    lbh Member

    Joined:
    Sep 8, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdon
    cPanel Access Level:
    Root Administrator
    If I try and access my host server directly without any ports or subdomains specified, I am redirected to defaultwebpage.cgi.

    Is there a simply way of redirecting users to my website instead?

    I have seen this solution but was wondering whether there was a more elegant method...
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,488
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    It will work and show you the website only if you have a dedicated IP for a website and that you are browsing the dedicated IP in the browser directly. However, if the IP is a shared IP, then it will show you the default cPanel page. Think of it like it is a shared IP, so many websites on the server using the same IP, so what do you expect the webserver be delivering? it is shared across many accounts, so webserver is not going to decide what website it should display when you browse the shared IP...

    Use dedicated IP for website and browse the IP directly, it will show the website that it is associated with..
     
  3. lbh

    lbh Member

    Joined:
    Sep 8, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdon
    cPanel Access Level:
    Root Administrator
    Thank you for your reply.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page