404 Not Found on Subdomain

Posted March 9, 2015 10.4k views

Hello guys.
I got a problem when I try to setup subdomain on apache2.4.7 , ubuntu 14.04.
Here are my steps:

  1. In the folder “/etc/apache2/sites-enabled”,
<VirtualHost *:80>
DocumentRoot /home/

and enable it.

2.Create a DNS rule on CloudFlare. (because I use their public SSL service)

point to (my droplet IP address)

Then, when I type it comes 404 not found:

Not Found
The requested URL /cgi-sys/defaultwebpage.cgi was not found on this server.

What should I do?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

It is the default page of CPanel and I believe the redirect was cached in the browser earlier. Clear the browser’s cache or better try accessing the page from any other browser.