Migrating web from shared hosting (I read some questions but they are no help)

Hi, there are a lot of questions about this topic, but none of them point at the questions I have. I’m migrating from hostmetro and I have a domain there. I’m following this guide:

but I’m stuck in the step 4: sudo nano /etc/apache2/sites-available/

My wordpress is installed on the OS ubuntu 14.04 using the IP address I can access to it, so to install the old wordpress on the server, do I write where it says “” my hostmetro .com domain? and on “sites-available” my ip address from digitalocean?

I’m also trying to transfer my domain, this guide includes that right?

Thanks for the help!

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, Actually, based on that tutorial, on step 4, if your domain is, you should write sudo nano /etc/apache2/sites-available/ But this tutorial is a little bit old, you should add the .conf extention at the end now, so sudo nano /etc/apache2/sites-available/

To see how to transfer the domain, take a look at the step 7 of that tutorial. Hope this help, do not hesitate to reply here, I know it can be hard to setup your first server.

Lasst last last question, I need to upload the .sql manually, where do I upload it in the directory? It’s not compressed

lol I can’t reply to your post, too long.

That guide helped me. I updated the nameservers. Now I’m just waiting, finger crossed hahaha

Thank youuuuuuuuuuuuuu!