We help IT Professionals succeed at work.

Homepage defaultiing to hosting provider after migration

I migrated my sisters website yesterday and for some reason the homepage is showing as hostpapa and not the actual homepage of the website which I have moved to hostgator

http://www.lindalouisehill.co.uk

However, I can login to the admin here - http://www.lindalouisehill.co.uk/wp-login.php

And I can go to all other individual pages such as this one - http://www.lindalouisehill.co.uk/about-linda

I am concerned this page has been lost completely as i've gone back into file manager and the hostpapa one is in every copy and backup I have but something does not make sense as I go to an old backup from March and its there too but the homepage has not been like that since March.
Comment
Watch Question

I've attached a file "index.html" which should give you your index page back

The content was obtained through modifying the results for the site by the internet archive
https://web.archive.org/web/20180317210042/http://www.lindalouisehill.co.uk

I've cleaned up the HTML removing the archives modifications, but you should review it to make sure it's intact

Ken
index.html

Author

Commented:
Hi Ken

That is super helpful of you, however, before I proceed have I overlooked something in my settings as if I log into the admin area and go to the pages I find that page and able to open and edit it. See attached image.

Have I pointed something wrong?
Capture.JPG
It's possible, I'm not very familiar with WP so I can't say for certain.
Republishing the page may resolve the issue.

Author

Commented:
Thanks Ken

It's a strange issue this, I made a copy of the original page content into a new one and renamed the original to _OLD but still did not work, tried changing the default URL for the site to the specific name of the home page and still no luck.

I am going to delete the website directory and try removing and adding the domain back onto web server then unpack a different backup, sounds a bit extreme but start from a completely clean slate and only take about 15 minutes.......
That is odd,

It's possible that it's some sort of template issue

You did transfer the DNS right?

Author

Commented:
Yes quite possibly a template issue and yes the DNS has been moved but again not sure why its saying hostpapa still....
I've just uploaded screen shots

Right now both pages are displaying "parking pages"
ccc47.jpg
ccc46.jpg
Fractional CTO
Distinguished Expert 2019
Commented:
If you moved your site from HostPapa to HostGator, then you should make your DNS change with 123-reg.co.uk or HostGator.

Looks like you're using HostGator DNS... which is okay... and if you to use HostGator, you'll have complexities moving hosting in the future. Just keep this in mind.

Since your DNS is pointing to HostGator already, this likely means you migrated the wrong files.

Migrating WordPress sites can be complex sometimes. If you migrate sites every day, you already know this. If site migration is a rare action for you, then likely best if you hire someone to get this straightened out.

Your first step will be to move DNS out of HostGator back to your Registar + set the A record TTL to 5 or 10 minutes. This will allow you to change IP back + forth between HostPapa + HostGator quickly.

Warning: Do not retire/delete your HostPapa account till you get this fixed, as it appears you may have migrated the wrong files. If you retire/delete your HostPapa account you can potentially lose your entire site forever.

Seriously, hire someone to help you with this.
David FavorFractional CTO
Distinguished Expert 2019

Commented:
Tip: Here's how I migrate WordPress sites out of low rent hosting, like HostPapa or HostGator.

I use this approach because many low rent + high rent hosting companies are so poorly conceived it's impossible to take a full backup with any of the many standard WordPress backup plugins.

1) I make a backup of the WordPress database into the WordPress install directory.

https://wordpress.org/plugins/wp-database-backup/ is the plugin I use, because it's code is small enough it always installs... Well, so far it always installs...

2) Setup an FTP or SFTP login for migration.

3) Then mount the source site files (curlftpfs for FTP + sshfs for SFTP) onto the target machine.

4) Now rsync the WordPress install directory from the mount point (which is really the source machine) into the new WordPress install directory.

This approach migrates 100% of all sites, 100% of the time, first time, every time.

Author

Commented:
After a full restore I am back in the same situation, I have been through the config files from the link you shared.

I am able to forward the domain to another site via my new hosting provider Hostgator so I assume that confirms the DNS transfer was complete and successful.

I am going away for a while now and will think about it some more.

Author

Commented:
David just seen your posts... will check those out
The home page defaults to http://www.sagewellness.online/ ??

David Favor has provided some suggestions you may want to consider. He's by far more versed in Word Press than I am
I'm seeing content for the entire site though it's sagewellness.online vs lindalouisehill.co.uk

If this is correct then you may just be dealing with a DNS update delay which doesn't happen much here, but used to take 12 - 24 HRS after moving a site for things to resolve correctly
OR you can try refreshing your browser, dumping your cache, etc

Author

Commented:
Apologies for misleading then I pointed it to the sage website to confirm I had full control through my new hosting provider to me this confirmed the DNS change was complete, I will remove that direct now so lot to confuse matters

Author

Commented:
Thank you so much for your advice, I am going to point back to hostpapa and get it backup on the original directory, this hosting renewal is 2 months away but they have put renewal cost us x 4 and performance is poor so my master plan was to get organised in advance.
David FavorFractional CTO
Distinguished Expert 2019

Commented:
If you get stumped, consider hiring someone who does migrations every day.

They will have work arounds for any problems.

Author

Commented:
Hi Ken & David,

So although this isn't resolved in terms of moving to new provider I wanted to try and award points to both of you fairly as you both provided so much help and advice.

I have pointed site back to original hosting provider, verified it all works and run a backup, I will attempt to move the site again maybe next weekend and if that does not work I shall get someone to help me do migrate for me.

Once again, thank you and when a complete solution is found in the next week or so I shall come back with an update.