WordPress Blog Ko DigitalOcean Server Par Migrate Kaise Kare

Is tutorial me WordPress blog ko DigitalOcean Cloud Server par (without downtime) Migrate karne ki step by step with screenshot jankari share ki gayi hai. Jiski help se aap apne wp blog ko Shared hosting, VPS hosting, Dedicated Hosting and other hosting server se Digital Ocean virtual private server par transfer kar sakte ho.

WordPress Blog Ko DigitalOcean Server Par Migrate Kaise Kare

Bahut se blogger shared hosting se blog start karte hai lekin traffic increase hone par ek achhi hosting par site host karna better hota hai. DigitalOcean 100% uptime ke sath cheap price me bahut hi achhi hosting service provide karta hai.

Aap $5 to $10 price plan me apna wordpress blog run kar sakte ho. Sabse achhi baat Bangalore, India me iska data center available hai aur ek hindi blogger (jiske blog par indian traffic hai) ke liye ye best hosting hai. For more you can read DigitalOcean Cloud Hosting Last 3 Month Review 2024 (Hindi).

How to Migrate WordPress Blog to DigitalOcean – Full Guide (Step by Step with Screenshot) in Hindi

Yaha di gayi wordpress migration guide se aap kisi bhi web hosting se apne blog ko Digital Ocean server par migrate kar sakte ho.

Step 1: Create Backup

Sabse pahle hume apne old server se wordpress blog backup lena hoga. Aapko full backup lene ki jarurat nahi hai sirf files and database ka backup lena hai. mostly web hosting provider phpmyadmin database access and file manager file access provide karte hai jinse in step ko follow kar backup le sakte hai.

1. Backup Files (Images, Themes, Plugins)

WordPress ki all files ka backup lene ki jarurat nahi hai bas post images, themes, plugins ka backup lena hai. Iske liye aap apne hosting cpanel par jaye aur wp-content folder ka backup le le.

cPanel par ja kar file manager par click kare aur wp-content folder par right click kar zip format me convert kar download kar le.

backup wp-content

2. Backup Database

WordPress MySQL database backup lene ke liye aap Cpanel >> PhpMyAdmin par ja kar Export par click kar SQL format chune aur Go par click kare. Database backup download ho jayega.

database backup

WordPress files and database ka backup lene ki adhik jankari ke liye aap WordPress Blog Ko Another Hosting Server Par Migrate Kaise Kare post read kar sakte hai.

Old hosting server se backup lene ke bad use apne PC me ek folder bana kar save kar le. Ab hume new hosting server par kaam shuru karna hai.

Step 2: Buy Hosting from DigitalOcean

Sabse pahle aapko digitalocean se hosting purchase karni hogi. Aap apne blog ki jarurat ke anusar plan choose kar sakte hai. Sabse achhi bat ye hai ki aapko $10 free credit milta hai jisme aap $5 plan 2 month and $10 1 month free use kar sakte ho.

Digital Ocean se hosting buy karne ki adhik jankari ke liye ye tutorial read kare, DigitalOcean Se Cloud Hosting Kaise Kharide – 2 Month Free.

Step 3: Create Droplet and Setup Server

Do hosting buy karne ke bad aapko droplet create kar server install karna hai. WordPress ke liye apache and Nginx do best server hai. Main aapko Linux, Ubuntu, Nginx, MySQL Database use karne ki salah dunga. Is sabke bare me main already article likh chuka hu.

In tutorial ko read karke aap easily digitalocean par droplet create kar server setting up kar sakte ho. Ab aapko new hosting par wordpress install karna hai.

Step 4: Update DNS Settings

Ab aapko digitalocean droplet server se apna domain connect karna hai. Iske liye aap digitalocean dashboard par jaye aur Networking section me ja kar domain add kare aur A and CNAME record add kare.

  1. Point Domain to your Droplet IP Address  A record add kare.
  2. Agar aapki site www ke sath open hoti hai to www to domain point CNAME record add kare.

Add A and CNAME Record on DigitalOcean

DNS setting karne ke bad aapne jis site se domain liya hai uske dashboard me domain setting me jaye aur old Name server ko remove kar ye 3 name server add kare.

ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

Name server change karne ke bad aapke DNS setting change hone me 24 to 72 hours ka time lagta hai wese ye kuch minute bad update ho jata hai. Aapka name server update hua hai ya nahi ye aap dnschecker.org site par check kar sakte ho.

Agar aap cloudflare cdn use karte hai to aapko domain setting me ja kar name server change karne ki jarurat nahi hai. Aap cloudflare DNS setting me jaye aur a record me droplet ip address add kar de. Bas ip address hi change karna hai.

Step 5: Install WordPress on DigitalOcean Server

DO par droplet create kar server setup karne ke bad wordpress install karna hai. Iske liye bhi main already article likh chuka hu.

Step 6: Restore Database and Files

New hosting par wordpress install karne ke bad aapko database and files ka backups new server par restore karna hai. Iske liye aap yr steps follow kare.

1. Restore Files Backup

DigitalOcean hume server par full access deta hai aur hum ise chahe jaise customize manage kar sakte hai. Files managing ke liye aap File Transfer Protocol (FTP) use kar sakte ho. Iske liye main aapko free FTP FileZilla and CyberDuck recommend karunga.

Main Cyberduck use karta hu aapko in dono me se jo best lage wo download kar lo. Main Cyberduck ke step bta raha hu.

  1. Cyberduck open kare aur top left side me Open Connection par click kare.
  2. SFTP (SSH File Transfer Protocol) select kare. Ye security ke liye btter hai.
  3. Yaha Server IP Address add kare.
  4. Choose option par click kare droplet SSH Private Key select kare.
  5. Finally, Connect par click kare.

 

Connect Server via FTP

Ab aapka server FTP se connect ho chuka hai ab aap apne computer laptop se server par file upload and download kar sakte ho. Ab hume wp-content folder ko replace karna hai.

  1. Ab /var/www/html par jaye. (Agar aapne wordpress install karte time path different choose kiya hai to wo select kare aapko wordpress files par jana hai.)
  2. Pahle se available wp-content folder par right click kar delete kar de.
  3. Upload option par click kare old hosting wala wp-content zip format backup upload kare.
  4. wp-content.zip par right click kare.
  5. Right click karne par jo options show ho unme se Expand Archive par click kare.

Replace wp-content folder

Ab aapne wordpress files ka backup new hosting par migrate kar liya hai. Ab aapko wordpress database bhi migrate karna hai.

2. Restore Database Backup

Database manage karne ke liye aap DO server par PhpMyAdmin install kar sakte hai aur backup upload kar sakte hai. Iske bare me aapko Ubuntu 16.04 Server Par phpMyAdmin Install Kaise Kare post me jankari mil jayegi.

Lekin main aapko isse simple rpocess btata hu jisme aapko server par kuch bhi install nahi karna hai. Iske liye hum adminer ka use karenge jo ki phpmyadmin ka alternative hai. Aap adminer download kar le.

Adminer ko hume wordpress files path me upload karna hai. Iske liye aap wp file path par ja kar via ftp adminer upload kar sakte hai.

  1. WordPress file path /var/www/html par jaye.
  2. Upload par click kar adminer upload kare.
  3. Ab yaha aapko adminer.php dikhayi dega.

Upload Adminer on FTP

Ab aap internet browser open kare aur example.com/adminer.php type se URL open kare. Ab aap yaha aapko database username aur password se log in karna hai.

  1. http://example.com/adminer.php type se URL open kare.
  2. Yaha MySQL select kar Server, Username, Password, Database name add kare.
  3. Login par click kare.

Login Database via adminer

Login karne ke bad aapko wordpress database default table dikhayi dengi jo ki aapke new hosting par wordpress install karte time create huyi thi. In sabko delete kar dena hai.

  1. Yaha click kar all tables ko select kare.
  2. Ab Drop button par click karke sabhi table ko delete kar de.

Delete WordPress database default tables

Ab wordpress ka database clean ho chuka hai ab aap isme old database backup ko import kar sakte ho.

  1. Import option par click kare.
  2. Choose files par click kar PC se database backup select kare.
  3. Execute par click kare.

Upload Database Backup via Adminer

Ab kuch hi time me database backup completely upload ho jayega. Is tarike se aap new hosting par database and files ko migrate kar sakte ho.

For security:- aap adminer.php ka name change kar 123.php ya koi aur set kar le taki koi aur aapke database ko access na kar paye aur database import karne ke bad aap chahe to adminer ko wordpress file path se remove bhi kar sakte hai.

Step 7: Check Database Username, Password and Table Prefix

WordPress database and files ka backup upload karne ke bad aap ek bar wp-config.php folder me ja kar wordpress database username, password and table prefix check kar le. Database password aur username aapko new hosting ke hi rakhne hai lekin table prefix old database ka set karna hai.

WordPress default table prefix “_wp” hota hai aap old hosting par ja kar database wp-config.php file me ye check kar sakte hai.

Is process ke complete hone ke bad aap apna blog open karke dekh sakte hai. Agar aapne sabkuch sahi se follow kiya hoga to blog proper open hoga. Agar koi problem ho to aap comment section me bta sakte hai.

Blog migrate karne ke bad wordpress dashboard par jaye aor Settings >> Permalinks par ja kar setting update kar le. Kai bar migration karne par site URL work nahi karte hai isse wo problem fix ho jati hai.

Final Words,

Is tarah se aap apne wordpress blog ko digitalocean server par migrate kar sakte hai. Shared hosting to cloud hosting par wordpress transfer karne ka ye bahut hi aasan tarika hai.

Agar aapko without downtime migration karna hai to aap ip address se wordpress install kar migrate complete kar le uske bad Domain name server change kare aur wordpress dashboard ya database setting me ja kar ip address ki jagah domain add kar le downtime problem nahi hogi.

Ye bhi padhe,

Ummid karta hu ye article aapko pasand aaya hoga agar main sahi hu to please is post ko social media par apne friends ke sath share jarur kare.

Avatar for Jumedeen Khan

About Jumedeen Khan

I'm the founder of this site and we regularly share useful and helpful information here for beginners. ❤️

Reader Interactions

Comments (51)

  1. Avatar for amazontop10reviewamazontop10review

    bhai digital ocean pr mene card add kiya tha to 100$ mile mene do droplet do sites ke liye bnaye aur ek aur gatli se bn gya uska kya kru aur ye 100$ free hai ya bad me charge liye jayega

  2. Avatar for Surendra KumarSurendra Kumar

    Bhai , Maine digital ocean par sidhe hi cyberpanel install kiya hai . Ye same cpanel ki traha hi hain . So maine yahan wordpress install kar liya hai .

    Mai apni website ko yahan tranfer kar raha hun toh sql file size 10mb ki hai jabki limit 2mb upload karne ki hai.

    Toh maine cyber panel ke document ki madad se php edit karke size ko bada diya hai leKin wo update nahi huaa hain .

    Document se mujhe ek command mila hai jisse server ko reboot ya restart kiya ja skate .

    Command : systemctl restart lscpd

    Mujhe ye janna hai ki ise kahan or kaise run karen jisse php update live ho .

    Phpmyadmin file size badhane ka article english me hai jo jayada samjh me nahi aaya aap niche di gayi link se ise read karen .

    https:// cyberpanel. net/docs/4-change-upload-limit-for-phpmyadmin/

    Link me maine space bana diya hai taki ye comment spam me na jayen. Aap space remove karke link ko padhe or meri madad karen.

  3. Avatar for Paul JohnPaul John

    a great article however, for migration i ask Cloudways to do it since i am DigitalOcean Cloud hosting from them so they had on their own migrated my website from different to their servers

  4. Avatar for PradeepPradeep

    Hello SMI;

    JDK सर, ADMINER Database का Backup (Sql File Export) कैसे करें… इसमें कौन-कौन से Options चयन करें… जिससे पूरा Database का Backup मिल जाये… Please Reply.. (Y)

    • Avatar for जुमेदीन खानजुमेदीन खान

      By default rahne do database select karke Export par click karke save wala option select karo download kar lo.

  5. Avatar for deepakdeepak

    sir migration to successfully ho gya hai. or sab kuch thik se proper work kr rha hai. lekin redirection plugin work nhi kar rha hai? koi bhi post url redirect nhi ho rha hai?

    pls bata degiye kha par error ho sakta hai?

    • Avatar for जुमेदीन खानजुमेदीन खान

      Redirection के लिए आप DigitalOcean Godaddy SSL Setup आर्टिकल में दिया रीडायरेक्ट कोड इस्तेमाल करो

  6. Avatar for NiteshNitesh

    bhai digital ocean pr mene card add kiya tha to 100$ mile mene do droplet do sites ke liye bnaye aur ek aur gatli se bn gya uska kya kru aur ye 100$ free hai ya bad me charge liye jayega

    • Avatar for जुमेदीन खानजुमेदीन खान

      जो गलती से बन गया उसे डिलीट कर दो

  7. Avatar for niteshnitesh

    bhai DO pr godaddy ka doamin add krne ke bad server IP address could not be found. bta rha hai nameserver aur ip sahi se kiye huye hai

    • Avatar for जुमेदीन खानजुमेदीन खान

      DNS ko update hone me thoda time lagta hai.

  8. Avatar for sarthak upadhyaysarthak upadhyay

    adminer .php add karne k baad example . com / adminer .php par visit karta hu to page not found bata raha hai

    • Avatar for Jumedeen khanJumedeen khan

      Iska matlab abhi aapka domain new server par point nahi hua hai.

      • Avatar for Ali razaAli raza

        Adminer.php not found bata raha h sir

        • Avatar for जुमेदीन खानजुमेदीन खान

          adminer upload करो

  9. Avatar for ShakilShakil

    Sir jee MySQL upload karne ki limit 2 mb hai use kaise increase kare. Please bataye.

    • Avatar for Jumedeen khanJumedeen khan

      php.ini file me upload_max_filesize or post_max_size increase karlo problem solve ho jayrgi.

  10. Avatar for aakibaakib

    Sir meri php file 37 mb ki upload nahi ho rahi hai bahut try kiya. Aur ye bataiye ki domain kab point karna sab kuch hone ke baad last me domain point kar sakta hun na ya fir pehle karna hoga. WP-content upload kar ke expand kar chuka hu. adminer se sql daal raha hu nahi ho raha hai.

    • Avatar for Jumedeen khanJumedeen khan

      php upload file size increase karo, database backup tabhi upload hoga jab aapka domain work karega, ya fir aap ip address se kar sakte ho.

  11. Avatar for suraj vaghelassuraj vaghelas

    username,password or database kese pata chalega

      • Avatar for suraj vaghelasuraj vaghela

        Me adminer.php ki madad se login karne ki kosis kar raha hu but error a raha he. maine usme username : root, server : localhost, password : ******, database name kya dalu muje pata nahi he please help me.

        • Avatar for Jumedeen khanJumedeen khan

          Aap ftp ke through wp-config.php file par jao waha aapko database username and password mil jayenge. localhost option me localhost hi likhna hai.

          • Avatar for suraj vaghelasuraj vaghela

            Sir website successful transfer ho gay he magar plugin updates nahi ho rahe . Plugin updates karta hu to ye error a raha he

            To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

          • Avatar for Jumedeen khanJumedeen khan

            Is command se permission set karo.

            sudo chown -R www-data /var/www/html

            Second ye coding work hai aapko ek ek step sahi se samajh kar follow karna chahiye.

  12. Avatar for Irfan KhanIrfan Khan

    Bhai Apne Sabkuch bata Diya pr ye nhi btaya ki jo database digitalocean pr create
    hoga hume uska username databasename or password kese pata chalega. kyoki wo tp by default install hoga .

    2. bhai vps hosting main site down ho jati hai jese hi high traffic aata site pr database error likha aaata hai or jese traffic normal ho jata hai site fir chalne lagti hai.

    kiya digital ocean mein bhi esa hai kiya – high traffic pr site down to nhi hoti?

  13. Avatar for Pipan SarkarPipan Sarkar

    Sir, How to transfer my website shared hosting to VPS hosting? Is par article banaye

    • Avatar for Jumedeen khanJumedeen khan

      Please read post carefully? is post me isi ke bare me btaya gaya hai.

  14. Avatar for Raghuveer DanRaghuveer Dan

    Me apna blog wp par migrate karna chahta hu to agar 10k traffic ho to iske liye konsa digital ocean plan accha rahega 5$ – 10$ ya isse bada plan buy Karu plz suggest me

    • Avatar for Jumedeen khanJumedeen khan

      Itne traffic ke liye $20 wala plan better hai.

  15. Avatar for Anand SharmaAnand Sharma

    bro hostgator ki shared hosting par mera job news blog.. trafic ab jyda badh raha h to kya ab m hostgator se cloud hosting lu ya other company se jisse mujhe aage koi prb n ho… plz batao…

    or bro agar m other company ki hosting par blog shift karu to jo maine wordpress ka data file me prifix etc change kiya h to vo same rahega ya sab gayab ?

    • Avatar for Jumedeen khanJumedeen khan

      I think high traffic site ke liye cloud hosting best hai. Haa, prefix same rahega bas database username password new hosting wala hoga.

  16. Avatar for SureshSuresh

    bahut badhiya post hai, ek baat bolna chahunga google pe search krne pe bahut sare blogger milte hai hindi me takriban sabka blog padha hai but aapka ek alag hi way hota hai samjhane ka itna sara jankari kaha se late ho I don’t know but jo bhi hai aapke samjhane ka trika wakai me bahut simple hota hai koi bhi sikh skta hai. dhanywad ise share krne ke liye.

    • Avatar for Jumedeen khanJumedeen khan

      Tnx and welcome

  17. Avatar for Dream 11Dream 11

    aap bahut ache se har cheez describe karte ho thanks for sharing this post

  18. Avatar for Anoop BhattAnoop Bhatt

    Bhut achi lagi yah jaankari padkar. Sir kya aapkablog bhi digitalocean par hosted hai

    • Avatar for Jumedeen khanJumedeen khan

      Yes, main DO hosting hi use karta hu.

  19. Avatar for Vijay singhVijay singh

    helpful information di hai aapne very helpful article thanks for sharing

  20. Avatar for Rushikesh SonawaneRushikesh Sonawane

    Hello! sir

    Me aapke site par kafi dino se guest post karna chahta hun. maine pichali baar article share kiya tha. Par aapne accept nahi kiya.

    kripya isbar mujhe aap hi koi topic dijiye. Ya fir me GtMetrix par page speed score kaise badhaye. Ispar article likhu?

    • Avatar for Jumedeen khanJumedeen khan

      Dear guest post ke liye aap guest policy padho aur mujhe mail karo. yaha comment me mat btao.

  21. Avatar for DVLDVL

    Waah bhai bahut achhi jankari di aapne

    Keep it up

  22. Avatar for Rahul SinghRahul Singh

    Hlo Sir,
    bahut bahut thanks aap ka aapne bahut imp post di wo bhi mere request karne ke kuch hours me thank u so much bhai jaan.nd really vry sorry maine aapko jo bhi bola uske liye.ap bahut acche insaan hai.

    • Avatar for Jumedeen khanJumedeen khan

      Your welcome bro, mera kaam hi hai bloggers ki help karna.

  23. Avatar for AMAN KUMAR SINGHAMAN KUMAR SINGH

    Agr main apni backup ko dusri hosting pr restore krta hu to koi problem hogi?

    • Avatar for Jumedeen khanJumedeen khan

      Koi problem nahi hogi.

  24. Avatar for arti mauryaarti maurya

    thank you sir aapne bahut badhiya jankari di hai. and thanks once again..

  25. Avatar for Aasif AliAasif Ali

    Very Nice And Helpfull Article

  26. Avatar for Rajat DasRajat Das

    Thanks bhai kaafi useful Post hai! Lekin mera ek sawal hai traffic jyada hone par ham vps hosting lete hai but digital ocean me bhi kuch aisa hai kya… Ya digital ocean high traffic wale blog ko by default support karta hai?

    • Avatar for Jumedeen khanJumedeen khan

      Digitalocean only VPS server hi provide karta hai. Aap High CPU and RAM wala plan le kar high traffic wali site host kar sakte ho. No problem.

Add a Comment

Your email address will not be published. Required fields are marked *

I need help with ...