I had a default Vhost conf file. Installed SSL with certbot. Couple of more Conf files I see now that got created besides the .conf file I had enabled earlier. These new conf files mention Virtual host port 443.
Am getting below error: Not Found
The requested URL was not found on this server.
Apache/2.4.29 (Ubuntu) Server at XXXXXXX.com Port 443
I tried the following:
Changed Allow Override to All in apache2.conf and then sudo systemctl restart apache2, but I started getting internal server error on the main page itself.
Doesn’t seem to be working. plz advise
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!
Hi there @satyadeo,
It sounds like that mod_rewrite might not be enabled. You can check this with the following command:
- sudo apachectl -M | grep -i rewrite
If you don’t see any output, you can enable the module by running the following commands:
- sudo a2enmod rewrite
Then run a config test to make sure that there are no problems with your Apache config:
- sudo apachectl -t
If you get a Syntax OK message go ahead and restart Apache:
- sudo systemctl restart apache2
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.