By aleshkjee
Hi,
I just started to learn Linux server and tried to make a web site using WP. So I installed a LAMP on VPS and WP on it using Digital Ocean tutorials. Got my Let’s Encrypt SSL certificate for mydomain.ee.
To avoid problems I decided to make a dev. one web for mydomain.ee. Made a copy of existing config:
$cp -p /etc/apache2/sites-available/mydomain.ee /etc/apach2/sites-available/dev.mydomain.ee
Made another wp dir. using the same command:
$cp -p /var/www/mydomain.ee /var/www/dev.mydomain.ee.
And also I got a new SSL certificate for dev.mydomain.ee. So before I did this, dev.mydomain.ee worked very well, but now, when I want to go to dev.mydomain.ee it says:
You don’t have permission to access this resource.
So the question is how I can get rid of the existing certificate to get a new one?
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!
did you verify the new folder contained all files of the old folder? “You don’t have permission to access this resource” is not an ssl cert error, more like a filesystem or apache config error
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.