How to avoid cgi-sys/defaultwebpage.cgi page for mailserver hostname?
There are no active services on port 80 and port 443 of a mailservers hostname, why cPanel is displaying cgi-sys/defaultwebpage.cgi page ? Is there a known workaround to get ride of cgi-sys/defaultwebpage.cgi for a hostname which does not offer any service on http or https ? IS there anything similar in DNS for http like we have for mx ( mx null) ?
Thank you for any thoughts towards solving something whih does not look very important.
KR, Lautrivta
-
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 -
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 -
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 -
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 -
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 -
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 -
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.
Comments
7 comments