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!

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,888
    Likes Received:
    90
    Trophy Points:
    78
    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..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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