Can't solve a Server error problem

July 14, 2014 2.9k views

Hey there. I have been trying to move one of my wordpress sites.

Now I have followed the instructions for migrating from a shared hosting to DO.

Also setup an ftp account and SSL and all that cool stuff.

Now, while everything work perfectly fine and all. It's limited to my laptop only.
Also, I can only access my wp-admin area.

So the issue is as follows.

  • I can't access my site from any other computer
  • I can't access the site itself. only the wp-admin area.

I do however manage to load the wp-login.php page but when i try to login I get them same result as with all else.

Could not connect to server. yada yada.

What have I missed?? (obviously I have, somewhere)

Url to my site: http://epreneurglobal.com

Thanks

6 Answers

Have you followed any tutorial on migrating from shared to DO? What webserver do you use? nginx or apache? What configuration have you done to the web server for that site? Have you done any changes in the WP settings?
The only thing i can think of right now is that you changed the WordPress Address (URL) and the Site Address (URL) in WP settings.

I used this. Followed to the letter.

https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

No changes in Wordpress than the ones in the tutorials.

by Ramesh Jha
If you read through this article you'll have the knowledge to migrate your WordPress site from Shared Hosting to a Cloud Server with zero downtime.

If you can please open the WP database and locate table options, Check the value of siteurl. Probably is it something else than your domain name.

It's just that it actually works on my laptop. I have cleared the cache to make sure. And it still works on my laptop but not on any other computer.

How do you locate table options?

Are there any errors in apache's error log?

sudo tail /var/log/apache2/error.log

[Mon Jul 14 11:34:20 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:35:34 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:35:39 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:36:30 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:36:34 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:37:18 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:38:27 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:39:23 2014] [error] [client 107.170.97.77] request failed: error reading the headers
[Mon Jul 14 11:46:29 2014] [error] [client 66.249.76.236] File does not exist: /var/www/category
[Mon Jul 14 12:01:16 2014] [error] [client 208.115.111.68] File does not exist: /var/www/robots.txt

Have another answer? Share your knowledge.