I am new to Ubuntu and I am using Ubuntu Server 14.04. Now I want to use my own design HTML web pages as my server status errors like on 404
etc. I tried my own way but not getting my designed page and I am getting server default error page when I am opening 192.168.1.99/404
that document is not available in my var/www/
as attached below.
I have index.html
, 404.html
, .htaccess
files in my var/www/
folder. My .htaccess
files contain ErrorDocument 404 /404.html
line only. I didn't change any default setting. I just install Ubuntu Server 14.04
and using it via Terminal. Can you tell me what to do now?
.htaccess
file codes usingservice apache2 restart
. But still not showing my404.html
page./
fromErrorDocument 404 /404.html
in your .htaccess. I think that's your error./
and tried but not working.