Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här flyttar du WordPress till ett nytt webbhotell eller en ny server utan driftstopp

Har du planer på att flytta din WordPress site till ett nytt webbhotell eller en annan server?

Den största risken när man byter webbhotell eller flyttar en website till en new server är dataförlust och driftstopp.

I denna Step-by-Step tutorial visar vi hur du flyttar din WordPress site till en ny server utan driftstopp. Vi kommer också att svara på vanliga frågor om att flytta en WordPress site till en new hosting provider.

Migrating WordPress from one host to another

Important: Innan vi börjar vill vi att du ska veta att många WordPress webbhotell erbjuder en gratis tjänst för att flytta. Det kanske inte står på deras website, så allt du behöver göra är att fråga. Vanligtvis är det gratis, men vissa kan ta ut en liten avgift.

Med detta sagt, låt oss titta på de steg vi kommer att täcka för att flytta WordPress till en ny server på webbhotellet (utan driftstopp):

Är du redo? Låt oss komma igång.

Step 1: Välj ditt nya webbhotell för WordPress

Om du är klistrad på en långsam server även efter att ha optimerat WordPress hastighet och prestanda, är det dags att flytta din WordPress site till en new server som kan hantera din växande trafik.

När du letar efter en new hosting provider för WordPress är det viktigt att du väljer med omsorg så att du inte behöver flytta igen inom en snar framtid.

Här är de vi rekommenderar:

  • För tillförlitliga delade webbhotell rekommenderar vi att du väljer Bluehost. De rekommenderas officiellt av WordPress.org. Med vår Bluehost coupon kan WPBeginners användare få upp till 61% rabatt och ett gratis domain name.
  • För snabbare delade webbhotell rekommenderar vi Hostinger. De är bland de högst upp WordPress webbhotell och erbjuder snabbare servrar med enastående customer support.
  • Om du letar efter molnhotell eller location-specifika providers rekommenderar vi att du kontrollerar SiteGround. De har datacenter på tre olika kontinenter.
  • Om du letar efter hanterat webbhotell för WordPress rekommenderar vi att du kontrollerar WP Engine. De är den bästa och mest välkända providern i branschen.

När du har köpt ditt nya webbhotell ska du INTE installera WordPress. Det kommer vi att göra i ett senare steg.

För tillfället bör ditt new web webbhotell account vara tomt, utan filer eller foldrar i din main directory.

Step 2: Ställ in Duplicator för enkel flytt

Det första du behöver göra är att installera och aktivera pluginet Duplicator på den website som du vill flytta. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett plugin för WordPress.

Duplicator är marknadens bästa plugin för flytt av WordPress. Det kommer också med automatiserade tidsinställda backups, stöd för molnlagring, One-click migration, och smarta migreringar.

Note: Duplicator har också en gratis version som heter Duplicator Lite. Den kan användas för att flytta din website men har utvalda funktioner jämfört med pro-versionen.

När du har installerat och aktiverat Duplicator, gå till Duplicator ” Packages page i your WordPress admin area.

Därefter måste du klicka på knappen ”Skapa ny” i det övre högra hörnet.

Make new Duplicator package

Detta kommer att starta Duplicator’s backup wizard.

På nästa vy kan du valfritt ange ett namn för din backup eller helt enkelt click på knappen ”Next” för att fortsätta.

Duplicator package creation

Därefter kommer Duplicator att skanna ditt system för att se till att allt är i order för att förbereda paketet.

Se till att dina skanningsresultat kontrolleras (allt ska säga ”Bra”) och klicka sedan på knappen ”Bygg”.

Duplicator scan

Processen kan ta flera minuter att completed, så lämna tabs öppen medan plugin gör sitt jobb.

När processen är completed ser du alternativen för download för Install och Archive-paketet. You need to click on the ’Download’ button and then select ’Both Files’.

Download Duplicator migration files

Archive-filen är en kopia av din kompletta website, och installer-filen automatiserar installationsprocessen åt you.

Step 3: Importera din WordPress site till det nya webbhotellet

Nu när du har downloadat både archive- och installer-filerna är nästa steg att uploada dem till din nya server.

Det gör du genom att ansluta till din nya server via FTP.

Om du aldrig har gjort det förut kan du kontrollera vår guide för nybörjare om hur du uppladdar filer via FTP till WordPress.

Normalt brukar du enter din websites domain name som server när du ansluter din FTP-klient.

Men eftersom ditt domain name fortfarande pekar på din gamla server måste du ansluta genom att enter din servers IP-adress eller serverns värdnamn.

Du hittar den här informationen i dashpanelen på kontrollpanelen för ditt new webbhotell account.

Server IP address

Om du inte kan hitta den här informationen kan du be om support för ditt new webbhotell, så hjälper de dig.

Med hjälp av FTP-klienten måste du uploada både filen installer.php och filen archive .zip till rotkatalogen på din website.

Detta är vanligtvis mappen /användarnamn/public_html/.

Återigen, om du inte är säker, fråga ditt webbhotell.

Se till att din root directory är helt tom. Vissa webbhotell installerar WordPress automatiskt när du registrerar dig.

Om du har installerat WordPress i din root directory, måste du först ta bort WordPress.

När det är gjort måste du uploada både archive zip-filen och installer.php-filen till din sites root directory.

Step-by-Step 4: Ändra filen Webbhotell för att förhindra driftstopp

När du har uploadat båda filerna till din nya server, måste du komma åt filen installer.php i en webbläsare.

Normalt kan denna fil nås med hjälp av en URL som gillar detta:

http://www.example.com/installer.php

Men den här URL:en tar dig till din gamla server och du får ett 404 error. Detta beror på att ditt domain name fortfarande pekar på ditt gamla server.

Normalt kan andra tutorials säga att du ska ändra namnservrarna för din domän och peka den till ditt nya webbhotell, men det är fel.

Om you gör detta nu kommer dina visitors att se en trasig website när du flyttar den.

Vi visar dig hur du tillfälligt kan komma åt din new site på din dator utan att det påverkar din gamla webbplats.

Detta görs med filen hosts på din dator.

Filen hosts kan användas för att ompeka domain names till specifika IP-adresser. Med andra ord kan du lura din dator att tro att en website är flyttad trots att den ej är det.

Låt oss ta en titt på hur du lägger till en post för ditt domain name i filen hosts så att den pekar på ditt nya webbhotell.

Making these changes will allow you to access the files on your new server using your own domain name while the rest of the world will still be accessing your site from the old host. Detta garanterar 100 % drifttid.

Det första du behöver göra är att hitta IP-adressen till din nya web server.

För att hitta detta måste du logga in på din cPanel dashboard och click på länken förstora statistik i den vänstra sidebaren. Din servers adress kommer att listas som ”Delad IP-adress”.

På Hostinger hittar du till exempel IP-adressen till din server under detaljerna för ditt webbhotell.

Hostinger server IP

Om du använder en Windows-dator måste du öppna appen Notepad med administratörsbehörighet.

Klicka bara på knappen ”Start” och leta sedan efter appen Notepad. Högerklicka på ikonen för appen Notepad och välj sedan ”Run as administrator”.

Run Notepad as administrator

En Windows UAC-prompt kommer att visas och du måste klicka på ”Ja” för att starta Notepad med administratörsbehörighet.

På vyn Notepad går du till File ” Open och navigerar sedan till mappen C:\Windows\System32\drivers\etc. Från den här mappen väljer du filen servers och öppnar den.

Om du använder en Mac måste du öppna appen Terminal och enter det här kommandot för att redigera filen hosts:

sudo nano /private/etc/hosts

För både Windows- och Mac-användare måste du längst ner i filen hosts ange IP-adressen som du kopierade och sedan ange ditt domain name. Gilla det här:

192.168.1.22 www.example.com

Se till att du ersätter IP-adressen med den som du kopierade från cPanel och example.com med ditt eget domain name.

När du är klar, save your changes.

You kan nu komma åt dina filer på den nya servern med hjälp av ditt domain name på din dator.

Import! Glöm inte att ångra de ändringar du gjorde i filen hosts när du har slutfört flyttningen (steg 6).

Step-by-Step 5: Skapa MySQL Database på din nya server

Innan vi kör installatören på den nya servern måste you skapa en MySQL database på ditt nya webbhotell account. Om du redan har skapat en MySQL-databas kan du hoppa till nästa steg.

Skapa en Database i cPanel

Gå till cPanel dashboard på ditt new webbhotell account, rulla ner till Database section och click på ’MySQL Databases’ icon.

Du kommer att se ett fält för att skapa en new database.

Enter ett namn för din database och click the ”Create Database” button.

Create database

När du har skapat MySQL-databasen måste du rulla ner till MySQL Users section.

Ange sedan ett användarnamn och ett password för din nya användare och click på knappen ”Create User”.

Create database username and password

Efter det måste du add to denna användare till din database. Detta kommer att ge användarnamnet som du just skapade all behörighet att arbeta på den databasen.

Du kan göra detta genom att rulla ner till ”Add User to a Database” section. Välj helt enkelt den databasanvändare du skapade från dropdown-menyn bredvid användaren, välj sedan databasen och klicka på knappen ”Add”.

Add user to database

Din database är nu redo att användas med WordPress. Var noga med att obs/observera databasens namn, användarnamn och password. Du kommer att behöva den informationen i nästa steg.

Step 6: Påbörja migreringsprocessen för Duplicator

Nu är vi redo att runka installern. Navigera till följande adress i din webbläsare och byt ut example.com mot ditt domain name:

http://www.example.com/installer.php

Duplicator installer

Installern kommer att run några tester och kommer att visa ”Pass” bredvid archive och bekräftelse tester.

Du måste markera kryssrutan för villkor och fortsätta genom att klicka på knappen ”Nästa”.

Nu kommer du att bli ombedd att enter din MySQL server, databasens namn, användarnamn och password.

Din server kommer troligen att vara localhost. Efter det kommer du att enter detaljerna för den database som du skapade i föregående steg.

Enter database details

Därefter måste Duplicator kontrollera att den kan anslutas till databasen och kan köra installationen.

Klicka på knappen ”Bekräfta” längst ner för att fortsätta.

Validate database information

Om Duplicator kan anslutas kommer du att se testresultaten som Pass.

You can now check the terms and notices checkbox and click on the ”Next” button.

Accept terms and continue

Klicka på knappen ”Nästa” för att fortsätta.

Duplicator importerar nu din WordPress Database från archive zip till din new database.

Därefter kommer du att bli ombedd att updating site URL eller Path. Eftersom du ej ändrar domain names behöver du INTE ändra något här.

Klicka bara på knappen ”Nästa” för att fortsätta.

Duplicator kommer att run de sista stegen och visa dig knappen för login.

Duplicator migration finished

Du kan nu logga in på din WordPress site på den nya servern för att se till att allt fungerar som förväntat.

Step-by-Step 7: Update Your Domain Name Servers (DNS)

Nu har du skapat en komplett kopia av din WordPress database och filer på din nya server, men din domän pekar fortfarande på ditt gamla web server account.

För att update din domän måste du byta DNS-namnservrar. Detta säkerställer att dina användare kommer till den nya location för din website när de skriver in din domän i sina webbläsare.

Om du registrerade din domän hos din hosting provider är det bäst att överföra domänen till ett new host.

Om du å andra sidan använder en domänregistrator som Domain.com, GoDaddy eller Network Solutions måste du updating dina namnservrar.

You will need the DNS nameserver information from your new web host. Detta är vanligtvis ett par URL:er som gillar det här:

ns1.hostname.com
ns2.hostname.com

I den här guiden kommer vi att visa you hur du ändrar DNS-namnservrar med GoDaddy.

För andra hosting providers, ta en titt på vår guide om att ändra namnservrar för domäner.

Beroende på din domänregistrator eller ditt webbhotell kan screenshots se annorlunda ut. Grundkonceptet är dock detsamma.

You need to look for the domain management area and then look for nameservers. Om du behöver hjälp med updating av dina namnservrar kan du fråga ditt webbhotell.

För GoDaddy måste du logga in på ditt GoDaddy-konto och sedan klicka på ”Domäner”.

Efter det måste du klicka på knappen ”Hantera” bredvid det domain name du vill ändra.

Manage domain

Gå till section ”Additional Settings”.

Sedan måste du klicka på ”Hantera DNS” för att fortsätta.

Manage DNS

Därefter måste du rulla ner till ”Nameservers” section.

Här klickar du på knappen ”Change”.

Change nameservers

Först måste du ändra dropdown för namnservertyp från ”Standard” till ”Custom”.

Efter det kan du fylla i din nya hosting providers information under Nameservers.

Updating DNS nameservers

Glöm inte att klicka på knappen ”Save” för att spara dina ändringar.

You har utan problem ändrat namnservrarna på din domän. Det kan ta 4-48 timmar innan ändringar i DNS sprids till alla användare.

Eftersom du har samma content på din gamla server och på den nya servern kommer dina användare inte att se någon skillnad. Din WordPress flytt kommer att vara sömlös utan absolut ingen nedtid.

För att vara på den säkra sidan rekommenderar vi att du väntar med att canceled ditt gamla webbhotell account till 7 dagar efter din flytt.

Vanliga frågor och svar

Här är några frågor som många av våra användare ställer när de flyttar WordPress från en server till en annan.

1. Hur flyttar jag min WordPress website till en annan server?

Du kan flytta din WordPress website genom att flytta dina WordPress-filer och din database från ditt gamla host till den nya hosting providern.

Vissa webbhotell erbjuder också gratis tjänster för överföring av website, men du måste fråga dem. Alternativt kan du göra det själv genom att överföra filer med hjälp av en FTP-klient och importera databasen via phpMyAdmin.

2. Kan jag flytta min WordPress site till en annan hosting provider?

Ja, du är gratis att flytta din WordPress site till en annan hosting provider.

3. Kan jag registrera mig för det nya webbhotellets account utan att registrera ett domain name?

Ja, du kan absolut registrera dig för ett konto på ett webbhotell utan att registrera ett domain name.

Domain name och webbhotell är två olika tjänster, och du behöver inte nödvändigtvis registrera ett domain name när du registrerar dig för en new server. För mer details, se vår guide om skillnaden mellan domain name och webbhotell.

Vissa hosting providers kommer att be dig att select ett domain name som första steg när du köper hosting. They will also allow you to enter a domain name if you already have one.

4. Måste jag överföra mitt domain name till den nya servern?

Nej, du behöver inte överföra ditt domain name till det nya servern. Men om du överför ditt domain name till ditt nya webbhotell blir det enklare att förnya och hantera det under samma dashboard som ditt nya account.

Mer information om detta ämne finns i vår ultimata guide om domain names och hur de fungerar.

5. Hur fixar jag felet som etablerar felet för anslutning till databasen i Duplicator?

Om du ser ett fel vid anslutningen till databasen eller ett fel i anslutningen till databasen i Duplicator, har du troligen enter felaktig information för din databasanslutning.

Se till att namnet på din database, användarnamnet för MySQL och password är korrekta. Vissa webbhotell använder ej localhost som server för sina MySQL-servrar. Om så är fallet måste du be de anställda på ditt webbhotell att ge dig korrekt information.

6. Hur kontrollerar jag att min website hämtar från den nya servern?

Det finns flera tools på nätet som allow you att se vem som är webbhotell för en website. När du har överfört din webbplats till den nya servern kan du använda något av dessa tools, och de kommer att visa dig namnet på webbhotellet som hostar din website.

Om det inte var länge sedan du flyttade din website och gjorde ändringar i din domain name server (DNS), är chansen stor att din website fortfarande hämtar från din gamla server. Det kan ta upp till 48 timmar för ändringar av domain name att spridas fullt ut.

7. Behöver jag ta bort några filer eller data från den gamla servern?

När du byter webbhotell rekommenderar vi att du behåller din gamla website i minst en vecka. Efter det kan du delete filer från din gamla server. Om du cancellerar ditt account kommer din hosting provider att ta bort all din data enligt deras policy.

8. Hur länge ska jag hålla mitt account aktivt på den gamla servern?

När du har flyttat din website till det nya webbhotellet, och om du inte har några andra websites hosted med ditt gamla webbhotell, kan du cancel ditt gamla webbhotell account.

I vissa fall kan du dock redan ha betalat dem för ett årligt webbhotell. Du bör kontrollera deras återbetalningspolicy för att se om du är berättigad till någon återbetalning vid canceled.

9. Hur flyttar jag en site i WordPress med SSL/HTTPS?

Du måste installera ett SSL-certifikat på din nya hosting provider. Därefter kan du följa samma steg som nämns ovan. Se bara till att du använder HTTPS i URL-adresserna, gillar https://example.com

10. Bonus: Gratis flytt av webbplats av din nya server

Om du vill byta webbhotell, men stegen ovan låter för komplicerade, kan du välja följande providers, så flyttar de din website åt dig.

SiteGround, Hostinger och WP Engine erbjuder gratis flytt av website för WPBeginners användare.

Vi hoppas att denna Step-by-Step guide hjälpte you att flytta WordPress till din nya server utan några som helst driftstopp. Om du stöter på några issues med din WordPress-migrering kan du kontrollera vår guide om de vanligaste WordPress-felen och hur du fixar dem.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

302 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jeff Bloom says

    I’d be careful about recommending Bluehost. I’ve been with them for years, but something changed dramatically over the past year. They went from great to awful overnight. Things that used to work, no longer work. This includes cPanel functions to ”Chat” and to ”search” functions. Their support people used to be extraordinary, now they’re mostly ”friendly” and clueless. And, they change their ”rules” and jack up their prices without notice. I’m presently in the midst of moving to a new host.

    • Dayo Olobayo says

      Wow, that sounds frustrating because I’ve heard good things about Bluehost in the past. I guess a hosting provider’s service can change over time. You might want to consider Hostinger though. I can particularly attest to their fast service and ever helpful customer support team.

  3. Moinuddin Waheed says

    Hands down the best guide for migrating a website from one host to another without any downtime.
    I used to think it’s impossible to do without having some lag but no, it’s possible and with easy to follow steps.
    Thanks wpbeginner for this detailed guide. I need to do this very often and had no clue that it can be done with no compromise on website downtime.

  4. THANKGOD JONATHAN says

    Thank you for the helpful article.
    But how about someone who wants to migrate his reseller hosting to a new reseller account and want to move all his clients websites to the new host? Do you have any article for that? I will really apprecite it.

    • WPBeginner Support says

      We do not have a specific article for bulk movement at the moment but if you reach out to the hosting provider they may have a tool to assist.

      Administratör

  5. Jiří Vaněk says

    The best practice that has proven successful for me:

    Download data from FTP.
    Create a database dump.
    Upload both to the new server.
    Test functionality using the HOSTS file.
    Switch DNS.
    An efficient, functional, and quick method for migrating WordPress to another server.

  6. AC says

    Hello,

    I have built a new website on a subdomain using we’ll call it hosting server A, could I also use this process to move that website to a new hosting server (B) and update the path to the new domain (noted in step 6), if the new domain is already connected to a live wordpress site on an entirely different server (C)?

    Or would I be better to move current website from server C to server B exactly as you have outlined above and get that going, then copy the files from updated website on server A to current hosting server B? Hope that makes sense. Just want the most seamless approach!

    For a little bit of an explanation… Business has a website that needs updating that is hosted with another company, I have built the ”new” website on my own subdomain. Business owns domain, and wants new website to live on new hosting that they control under same account as domain for easier access to everything moving forward.

    • WPBeginner Support says

      Either method can work, if you are already updating the site then you would want to use the first method and move the new site then update the domain to point toward the correct hosting provider to prevent you from having to do extra work on a live site.

      Administratör

  7. D Lewis says

    Another great tutorial, WPBeginner!

    Is this the same process used for simply downloading a WordPress.org blog from an old computer onto another one (keeping the same hosting company)?

    Thank you,
    D Lewis

    • WPBeginner Support says

      If you are keeping the same host you can normally check with your hosting provider to have them change it to the new server. If they do not offer this then changing your hosts file will likely not work but the other steps would be the same.

      Administratör

  8. lse says

    Do you find it better to create a fresh install of WordPress latest and migrate to this my existing WordPress website – import – data only, rather than the old WordPress – I update from 2011 – migrate all files/data/database, and Not create a fresh install…?

    • WPBeginner Support says

      It would depend on how you want the site’s content. If you are looking to do major changes to the site then creating a new site and importing the content would be good. This guide is for reducing downtime and keeping the site the same which is why we recommend importing all of the files and data. :)

      Administratör

  9. KubaP says

    Cool. Best tutorial. Works like gem in 2023! I’ve done my first smooth migration with the help of this awesome article

  10. Mr. Akhil says

    I am in the stage of 2. it doesn’t show all good but ”Size check notice” is not showing good result how can i solve it, what if some scanning process is not good ???

    • WPBeginner Support says

      From the sound of the error, the plugin is warning you that you have a large site and it may have trouble depending on your host for exporting your content. It would depend on the specific error if you are seeing other errors for the steps to follow but the plugin’s support should be able to assist.

      Administratör

  11. Carlos Almazan says

    Thank you very much for this tutorial, it´s amazing!

    I would like to ask you if possible, what steps of this tutorial should I skip if I just want to duplicate the first website? In other words, i want to leave the first website as it is and just create a new one (a new copy) in an another hosting provider.

    Thank you very much in advance!
    Regards!

  12. Emma says

    Good day, thank you for this wonderful tutorial. Please how do i migrate to my new host and use the domain on my new host, without using the old host domain

  13. Emmanuel says

    Good day, thank you for this wonderful tutorial. Please how do i migrate to my new host and use the domain on my new host, without using the old host domain

  14. Spear says

    Thank you so much for the informative guide!

    I’d like to know if possible, how long does it take to migrate wp project to the server?
    Currently the files are in the same server and trying to install wp script via Softaculous.

    thank you!

    • WPBeginner Support says

      It would depend on how much content you had on your old site for how long it takes to transfer your content.

      Administratör

  15. Milan says

    What will happen with my mailboxes on old host? How to manage this transfer and keep e-mails and related stuff?

    • WPBeginner Support says

      That would depend on your hosting providers, some have the option to export your mailboxes and import them on the new host while others do not have the option. If you check with your hosting providers they would be able to let you know the options you have available.

      Administratör

  16. Cristiano says

    Hi! Thanks for this great tutorial.
    I’ve moved 1 website and it was flawless.

    I tried to move a 2nd website. The content folder was really heavy, so i excluded it from the duplicator. I moved these folder manually.
    What I’ve noticed is that the new website is not loading any images.
    How can I solve this?
    Thanks in advanced. :)

  17. Adam says

    Im having issues with the host file.
    Changed it to the correct settings but still seeing the old host site,

    • WPBeginner Support says

      If your domain already points to the new host then you would not need to change it, if the domain is pointing toward your old host it would need to be changed.

      Administratör

  18. Bryce says

    Thank you for this very well-written tutorial! It helped me move from a hosting service that upped their prices so that I can get the newcomer discount with a new host. Thanks!

  19. Jon says

    Your article states that the new host folder must be empty before continuing on with the migration. How does this work for someone where I am migrating sites to a host that has other sites already on it?

    • WPBeginner Support says

      your hosting provider would normally have a folder for each specific site and you would add your site to the empty folder.

      Administratör

  20. Rousseau says

    Thank you very much for this article! I just used it to switch hosting providers after getting tired of downtime with my old provider. Appreciate the great documentation.

  21. Jacob says

    Hi, I successfully transferred my website using the Duplicator plugin. Everything works, but now the website is running rather slowly. Is this a common side effect? Any suggestions for fixing this?

  22. Binh says

    Hello, Thanks for your guide.
    1. I managed to the last steps but there are several issues in Database section, e.g. ”DATABASE ERROR: database error write” -> is it common to get this error?

    • WPBeginner Support says

      That sounds like you may have had an issue during the transfer process. You would want to reach out to your hosting provider to ensure they don’t see an error on their end.

      Administratör

  23. Rasif says

    white transferring the site enter the database credentials screen an error showing.
    ”Error Processing Request an error occurred while testing the data base connection! Please try Again.”

    • WPBeginner Support says

      You would want to ensure your database information is correct for one of the more common causes.

      Administratör

  24. Thomas says

    Bluehost charges to migrate a website. Is that for the service or can I migrate it myself as above and not have to pay the fee??

    • WPBeginner Support says

      The fee would be if you want them to do it for you. If you follow our guide above then it does not have a cost.

      Administratör

  25. Robert says

    I will share my experience: for one case, I had to switch off the plugin responsible for SSL. Than it was possible to migrate the website correctly. Anyway, thank you for this tool! It is awesome!!

    • WPBeginner Support says

      Glad it was helpful and thanks for sharing the workaround you used if someone else runs into that issue :)

      Administratör

  26. Ranjit Singh says

    Stuck in step 6 after trying to open the installer.php getting privacy error message in chrome
    ”Your connection is not private
    Attackers might be trying to steal your information from site (for example, passwords, messages, or credit cards). Learn more
    NET::ERR_CERT_COMMON_NAME_INVALID”

    • WPBeginner Support says

      Reach out to your hosting provider to ensure you have your SSL certificate set up correctly.

      Administratör

  27. Gordon says

    This was a great step to step and helped me migrate a site when another plug-in failed on me. Thanks for your guidance!

  28. Ryan says

    stuck on step 4 I updated the notepad etc host doc but now how do I access the installer.php file? I tried typing in example.com/installer.php with my domain name into browser with no luck. I have saved the duplicator installer.php file into the www folder in the new hosting files.

    • WPBeginner Support says

      You may want to check with your hosting provider to ensure there isn’t an issue with the location of the folder or if the folder was set under a different domain.

      Administratör

  29. Grace says

    Hi! I’m stuck at Step 6/ I really need help. I uploaded the installer and .daf file in the correct root folder but still experiencing the 404 Not Found Error. I don’t know what to do next.

    • WPBeginner Support says

      You would want to reach out to your hosting provider to ensure you’ve placed the file in the correct location.

      Administratör

  30. Nic says

    I get an error on Step 1: Deployment:

    Service Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

  31. Chris says

    Hi, thank you for this guide.

    I was thinking you might need to add on the ”nameserver” part that when migrating to a new web host is complete it is not necessary to change the but you need to change the A records to point the IP address of your new web host from your domain registration account settings. thank you and more power!

    • WPBeginner Support says

      While that is an option it is not the most beginner-friendly and can cause confusion later for some users which is why we recommend the nameserver change at the moment.

      Administratör

  32. Jossif G says

    Great write up and direction. I had couple from web, but yours is by far the best.
    You provided a lot of details that no one does, like prepare cpanel files before installing. It help me a lot, thank you very much

    • WPBeginner Support says

      You would need physical access to your hosting provider’s service to do that.

      Administratör

  33. Jack says

    Thanks for this but im still confused, I am using a CDN and the DNS are pointing to the it, should i first pause the CDN or can still do the process ignoring it then i wont have to update the NS? How should i do it right with no downtime?

    • WPBeginner Support says

      You can still follow this guide. When changing where your namservers are pointing you would update where your CDN is pointing rather than your nameservers.

      Administratör

  34. Jeff Cole says

    Lovely clear instructions, moved site over easily. My old host site I could access with or without the WWW , after the change over and before changing the nameserver I could access new site in host file with WWW and the old site without WWW. Thanks

    • WPBeginner Support says

      You would want to reach out to your hosting provider to ensure your nameserver change was set up and that you don’t still have your hosts file changed.

      Administratör

  35. Faisal says

    What if I have a website already on my new web host? If I upload the backup files (installer.php and the zip file) to a new folder in the root directory, how can I run the php file?

    • WPBeginner Support says

      It would depend on the specific host, most you should be able to update your hosts file to be able to visit the page while others you can also set the new site on a temporary address.

      Administratör

  36. Charles says

    Got to step 6 and typed in a browser the website address, got the no results found page come up on my website. Don’t know if I completed the Note pad step correctly for directing the page with the I.P address.

    • WPBeginner Support says

      You may want to reach out to your hosting provider’s support to ensure you are using the correct IP for the site and the site is not on a temporary address.

      Administratör

  37. Akhtar says

    Please reply, I’ve successfully moved to new hosting. But I’m confused about – How I’ll log in to my WordPress when old hosting is expired?

    Because there is no WP is installed, and no login is created on new hosting. Please explain,

    • WPBeginner Support says

      When moving your site to a new hosting provider, your login information for the site should be the same as it was and this method should add the WordPress files for you.

      Administratör

  38. Nahid says

    All Done but when I Click a new domain link then loading and enter previous domain link. All pages show previous links in the URL. So how can I fix it pls?

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.