Question

No URLs are working apart from the main page after moving droplet to droplet

Hi all,

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:

https://pastebin.com/embed_iframe/5JdeDCiv

My main apache2.conf has default settings (not sure if this should be the case)

https://pastebin.com/embed_iframe/5JdeDCiv

No URLs apart from the main page are working, I am getting a

Not Found 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=)

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

in the log i’m getting these:

[Tue Feb 20 12:05:23.666452 2018] [core:notice] [pid 8209] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 20 12:05:26.036205 2018] [mpm_prefork:notice] [pid 8209] AH00169: caught SIGTERM, shutting down
[Tue Feb 20 12:05:27.113288 2018] [mpm_prefork:notice] [pid 8423] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations