Skip to main content

How to avoid cgi-sys/defaultwebpage.cgi page for mailserver hostname?

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! If Apache is not running, cPanel takes over for ports 80 and 443 to ensure that service domains (webmail.domain.com, etc.) work properly on the system. If you don't want that page to appear and don't need to serve web content from that machine, you can always block the ports in the firewall.
    0
  • lautrivtas
    Hey there! If Apache is not running, cPanel takes over for ports 80 and 443 to ensure that service domains (webmail.domain.com, etc.) work properly on the system. If you don't want that page to appear and don't need to serve web content from that machine, you can always block the ports in the firewall.

    Hi, but how to block hostname ports 80 & 443 if mailservers hostname IP is cPanels License IP ?
    0
  • cPRex Jurassic Moderator
    That's a good point - blocking those could interfere with the license check on the machine. In general, any server's hostname will show *something* when visited in a browser. Would you like to just have more control over what is showing in this instance? If so, could you confirm if this is a full cPanel server and you have manually disabled the other services, or if this is a mail linked node?
    0
  • lautrivtas
    It is a full cPanel server with dedicated mail IP. Is there anything available in any RFC how this should be done ? The cgi-sys/defaultwebpage.cgi page looks like someone does not know what he is doing.
    0
  • cPRex Jurassic Moderator
    There would not be any RFC related to this. The best solution would be to enable Apache on the machine so a web service is listening on that port, and then you can setup a default vhost using the details here: It's also important to note that someone would have to manually type in the hostname in order to get to that page, which isn't something that generally happens.
    0
  • lautrivtas
    There would not be any RFC related to this. The best solution would be to enable Apache on the machine so a web service is listening on that port, and then you can setup a default vhost using the details here: It's also important to note that someone would have to manually type in the hostname in order to get to that page, which isn't something that generally happens.

    ok, thank you. There are many check security / check everything sites on the web - they are displaying this defaultwebpage.cgi page.
    0
  • cPRex Jurassic Moderator
    Thanks for that confirmation. Setting up Apache to handle those is the best way to ensure you can control the content moving forward.
    0

Please sign in to leave a comment.