Question

The requested URL /xxxxxx was not found on this server. Apache/2.4.29 (Ubuntu) Server at 178.128.75.206 Port 80'

This is my first time using digitalocean and I am completely new to apache configuration etc.

I have a php application hosted on ubuntu 18.04. After uploading web files, the homepage or default ip address goes through but other links don’t. i get the error, ‘The requested URL /xxxxxx was not found on this server. Apache/2.4.29 (Ubuntu) Server at 178.128.75.206 Port 80’

The ip address is of my website is 178.128.75.206 .

The requested URL /digitalsaving was not found on this server.

Apache/2.4.29 (Ubuntu) Server at 178.128.75.206 Port 80’

My config file looks like this [/etc/apache2/sites-available/stash.ng.conf]

<VirtualHost *:80> ServerAdmin webmaster@stash.ng ServerName stash.ng ServerAlias www.stash.ng DocumentRoot /var/www/stash.ng/html <Directory /var/www/stash.ng/html> Options +FollowSymlinks AllowOverride All Require all granted </Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

Thanks in advance

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You can sign in to your WordPress and go to Permalink Settings, using this format in Custom Structure /*/%postname%/

HI,

I came across the same obstacle while establishing a Database connection through PHP and MySql. if anyone can elaborate detail solution it would be great. Thanks :)

Se resuelve al cambiando el nombre de la url en mi caso www.midominio.com/contactos por www.midominio.com/Contacts