By mhktricks
I previously had this error : https://www.digitalocean.com/community/questions/posts-not-found-on-server After following one of the answers I getting this error on accessing my website
You don’t have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at 128.199.62.70 Port 80
Please help I can’t access any post , page , Wordpress dashboard !
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 have modified 000-default.conf and it looks like this:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ServerName 46.101.165.116
<Directory /var/www/signature/>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
and I ran the sudo commands but still I can’t access /var/www/signature/ through the browser: http://46.101.165.116/var/www/signature
Any idea what could go wrong?
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.