By dave765128
I have created an .htaccess file and have redirected my 404 error to a 404.html page, however, I cannot seem to edit my your virtualhost file (in /etc/apache2/sites-enabled) thus I cannot set AllowOverride to All. When I open the page up in my terminal window on my mac I cannot see anything. Any help would be appreciated. Current IP address for the site is: http://162.243.225.152/
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!
I cannot seem to edit my your virtualhost file
Do you get any errors when you try to do that? Try running the command as root by prepending “sudo” to it:
sudo nano /etc/apache2/sites-enabled/filename
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.