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

February 20, 2018 526 views
Apache DNS PHP WordPress Ubuntu 16.04

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

1 Answer

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

Have another answer? Share your knowledge.