No URLs are working apart from the main page after moving droplet to droplet
I honestly did research before asking this, but couldn’t find a solution. I have just migrated my WP site from Ubuntu 14 to a new LAMP Droplet/Ubuntu 16.04 within the same DO account.
I have a virtual host that is pointing to /var/www/mydomain.ru/public_html and it seems to work for the main page http://www.mydomain.ru/
I have enabled mod rewrite and this is my .conf in sites-available:
My main apache2.conf has default settings (not sure if this should be the case)
No URLs apart from the main page are working, I am getting a
The requested URL /karavan-mira/ was not found on this server.
Apache/2.4.18 (Ubuntu) Server at www.mydomain.ru Port 80
Please help me out=)
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.