Question
How To Access a Html file: /var/www/html/file? Simple question
Hi everyone.
I have uploaded my landing page files. the index.html + graphics to /var/www/html/landingpage/
the problem is when I try to access the files via my domain,
mydomain.com/landingpage
It does not work.
But this link works:
mydomain.com/landingpage/
So I have to add a / on the end of my url to access my site.
Is is possible to make this automatic somehow?
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.
×
Btw, This was installed on Lamp 14.04 droplet.
Apache2