Question

Domain paths showing error " The requested URL /parceiros was not found on this server."

Hey guys,

I’m running a website on centos7 (1 GB Memory / 25 GB Disk). I’m using Apache Webserver.

However, when I navigate to my domain ex: domain.com the website works as it should.

BUT when I go directly to any page on my website ex: domain.com/page1, or domain.com/page2, I get this error “Not Found,The requested URL /page1 was not found on this server.”.

I’ve confirmed this is not an htacess problem since I have two websites that are exactly the same just in different languages and the htacesss on both are equal and this only happens in one of them.

Can you guys help me solve this? Thanks


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.

Hi there @ajcpmoreira,

It is possible that the Apache Virtual Host for your new website is not configured correctly. You can check your Apache virtual host files at:

/etc/apache2/sites-enabled/

It is possible that it is missing the AllowOverride rule for your website’s document root directory. It should look something like this:

<Directory /var/www/your_site.com/>
    AllowOverride All
</Directory>

Hope that this helps! Regards, Bobby

hey @bobbyiliev think u can help me out with this one? thanks