Question

404 error – apache updated, but still does not work/

Hello, my name is Anna, nice to meet you all!

I installed apache on my droplet, so I could see my web page, but it doesn’t work. I always have 404 error. So I changed apache2 config like that: <Directory /> Options FollowSymLinks AllowOverride All Require all denied </Directory>

<Directory /usr/share> AllowOverride All Require all granted </Directory>

<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>

#<Directory /srv/>

Options Indexes FollowSymLinks

AllowOverride All

Require all granted

#</Directory>

And it didn’t help at all:) My IP’s 159.65.252.195, do you guys have any idea how to fix this?

Thanks a lot!

PS I’m just learning, so I’m sorry if my question is stupid.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello there,

Everyone can check our series of tutorials under the How To Set Up Apache Virtual Hosts

https://www.digitalocean.com/community/tutorial_collections/how-to-set-up-apache-virtual-hosts

Keep in mind that you’ll need to reload/restart Apache after making the changes.

Hope that this helps!

Hi @anutkyns,

You’ll need a separate configuration file for the domain you wish to use.

I’ll recommend you to check the following Digital Oceaon’s article - HERE

Once you’ve followed through, you’ll have a pretty good base of knowledge to work with Apache.

Kind regards, Kalin