Question
Why is a defaultwebpage.cgi page displaying when I access the main server IP and or hostname?
Answer
When accessing the main server IP via your browser, the hostname VirtualHost gets loaded.
The document root for the hostname is /var/www/html. Within this directory, the index.html file is what's served which contains a redirect to the defaultwebpage.cgi page.
[ root@server ~]# cat /var/www/html/index.html
<html><head><META HTTP-EQUIV="Cache-control" CONTENT="no-cache"><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
Comments
0 comments
Article is closed for comments.