Ni aye ti o dara julọ, a ko ni lati ṣàníyàn nipa yiyi awọn oju-iwe wẹẹbu pada - aaye wa yoo wa ni idunnu inu ile ibi ipese ti o wa bayi pẹlu awọn akoko fifuye, iye owo ifarada, ati 100% uptime.
Unfortunately, the world is not ideal and this perfect scenario rarely, if ever, exists. If your current web host is not giving what you need, it might be time to shift to a better one (we will talk about knowing when it's time to change in the nigbamii ti apakan yii). Transferring your site to a new web host doesn’t have to be as tiring as moving to a new house. It can actually be fairly easy if you take the right steps.
How to Transfer Your Website
When moving a website to a different web host, you need to:
Purchase and activate a new hosting accounts,
Move all website files – including databases and email accounts,
Install and configure your application (PHP version, WordPress, etc) at the new host,
Web hosting is a competitive industry – hosting companies are doing all they can to win new customers. Many hosting companies, including some great ones that I recommend, provide free website migration service to new customers. All you need to do is request a migration after signing up with the new provider and their support team will take care of the heavy-lifting.
In most cases, this is the preferred way so you can save time and focus on other crucial work with your website.
Here's what you need to do if you are going with this option:
1- Iforukosile pẹlu ile-iṣẹ ayelujara ti o nfun migration Aaye ọfẹ
Good hosting companies with free site migration:
A2 alejo gbigba – Well-known for its speed and reliability, shared hosting starts at $2.96/mo.
GreenGeeks– Eco-friendly web host, huge improvement in recent hosting performance.
InterServer– Reliable New Jersey-base web host, does not jack up prices ($5/mo) during renewal.
SiteGround– Popular web host among bloggers, very reliable; expensive renewal price.
TMD alejo– Excellent performance and great price – shared hosting starts at $2.95/mo.
* Discloure: If you order via these links I will earn a commission at no additional cost to you.
2- beere fun ijira Aaye ati pese alaye aaye ayelujara
Ṣe faili pẹlu ibeere ijira pẹlu agbalejo wẹẹbu tuntun rẹ. Nigbagbogbo gbogbo ohun ti o nilo lati ṣe ni lati pese data buwolu wọle ni ile-ogun rẹ atijọ - orukọ hostname, iwọle iṣakoso nronu, ati iwọle FTP, ati bẹbẹ lọ; ati agbalejo wẹẹbu tuntun rẹ yoo ṣe abojuto isinmi.
Ko si aṣiṣe aṣiṣe aṣiṣe database. Ko si ilọsiwaju iroyin imeeli. Rọrun bi epo kan.
Option #2: Transfer Your Website Manually
1- Ra ragbamu wẹẹbu tuntun
You need a new web host in place before you can initiate a host migration.
There are a variety of hosting solutions out there, each with its own configuration and offer. You will need to evaluate and compare which is right for you based on a number of factors, such as cost, required space, and server configuration, to name a few.
Also ideally you should inform your visitors and/or clients that you are moving to a new web host, along with information about the hours that you are making the switch. It'a good PR practice to do periodically status updates on social media networks to keep your clients informed. Plus, consider asking your users not to visit your website during migration to minimize system load and prevent additional customer service headaches.
For those who are running a static website (site with no database), all you need to do is download everything (.html, .jpg, .mov files) from your existing hosting server and upload them to your new host according to the old folder structure. The move can be done quickly using a FTP / sFTP agent. I recommend using FileZilla if you are looking for one.
Moving a dynamic site (with database) requires a little extra work.
Moving database
Fun aaye ti o ni agbara ti o nṣiṣẹ lori ibi ipamọ data (ie MySQL), iwọ yoo nilo lati okeere si data rẹ lati ogun oju-iwe ayelujara atijọ rẹ ati gbe wọle si ogun ayelujara tuntun rẹ. Ti o ba wa lori cPanel, igbesẹ yii le ṣee ṣe ni rọọrun nipa lilo phpMyAdmin.
Wọle si cPanel> Awọn apoti isura infomesonu> phpMyAdmin> Firanṣẹ.
In case you are using a content management system (i.e. WordPress, Joomla), you will need to install the applications a the new web host before importing the database. Some CMS provides easy transfer functionality (ie. WordPress’ import/ export functions) – you can use that function to transfer your data files directly using the CMS platform.
Moving a WordPress site
Moving WordPress from cPanel to cPanel
For WordPress sites on cPanel (the most common setup) hosting, the fastest way to move your site is to zip everything in your “public_html” or “www” folder, upload the folder to your new web host, and add the following two lines into your WP-config:
All-in-One WP Migration helps export your WordPress website including the database, media files, plugins and themes with no technical knowledge required
Alternatively, there are plenty of good migrating plugins for those who are moving WordPress site to a new web host. I like Duplicator – WordPress Migration Plugin ati All-in-One WP Migration for their simplicity. These plugins will help you to move, migrate, or even clone a WordPress site to a new web host with no technical knowledge required.
Moving WordPress using special built plugins
WP engine does not provide free site transfer services but they do have a special-built WordPress migration plugin for users who are switching in.
Some web hosting companies provide their own WordPress migration plugin. For examples WP Engine Automated Migration ati Oju-iṣẹ Agbegbe agbegbe – these are special plugin developed for transferring WordPress sites to a designated web host. You should make use of the in-house plugins when switching to those particular companies.
Moving email accounts
Boya ọkan ninu awọn ẹya ti o nira julọ julọ ti yiyi ogun rẹ wẹẹbu n gbigbe imeeli rẹ. Ni ibere iwọ yoo sọ sinu ọkan ninu awọn oju iṣẹlẹ mẹta wọnyi:
Aṣayan #1: Imeeli ti gbalejo lọwọlọwọ lori alakoso ile-iṣẹ (bii GoDaddy)
Eto fifiranṣẹ imeeli yii ni rọọrun lati gbe. Buwolu wọle si orukọ alakoso ašẹ rẹ (ibi ti o ti gbalejo imeeli rẹ), yi alejo rẹ alejo gbigba A (tabi @) gba si adirẹsi ayelujara titun wẹẹbu ká IP.
Aṣayan #2: Awọn iroyin imeeli ti gbalejo pẹlu ẹgbẹ kẹta (bii Microsoft 365)
Rii daju pe igbasilẹ MX rẹ, pẹlu eyikeyi igbasilẹ miiran ti olupese iṣẹ imeeli rẹ nilo, ti wa ni imudojuiwọn ni DNS rẹ.
Ti o ba n ngbe iroyin ni kikun lati cPanel si cPanel, o ko ni lati gbe awọn iwe apamọ imeeli rẹ pẹlu ọwọ. Ni omiiran, o le ṣe igbasilẹ gbogbo awọn iwe apamọ imeeli rẹ (ati gbogbo awọn faili laarin) lati Oluṣakoso faili cPanel ati gbee si olupin ogun tuntun rẹ. Ilana naa rọrun - eyi ni Itọsọna igbese-nipasẹ-Igbese ti o ba nilo iranlọwọ).
Ni oju iṣẹlẹ ti o buru julọ (gbigbe lati ọdọ ẹgbẹ iṣakoso alejo gbigba olumulo ti o dinku), iwọ yoo nilo lati tun-ṣẹda gbogbo awọn iroyin imeeli ti o wa tẹlẹ ninu ogunle wẹẹbu tuntun rẹ pẹlu ọwọ. Ilana naa le jẹ kekere kekere - paapaa ti o ba nṣiṣẹ lori ọpọlọpọ awọn adirẹsi imeeli.
Adding an email account using cPanel (Screenshot: Atilẹyin InMotion).
3- Ṣayẹwo ikẹhin & Iyaworan Iyato
Lọgan ti o ba ti gbe awọn faili rẹ sori apẹrẹ iṣeduro tuntun, ṣayẹwo meji pe ohun gbogbo n ṣiṣẹ daradara lori aaye ayelujara rẹ
Diẹ ninu awọn ile-iṣẹ alejo gbigba ipese idagbasoke iṣeto (ie. SiteGround) ki o le ni irọrun ati ki o ṣe ayewo aaye rẹ ni iṣawari ki o to mu o gbe ni agbegbe tuntun, o jẹ ki o ṣe atunṣe awọn iṣoro eyikeyi lẹhin awọn oju iṣẹlẹ naa.
Rirọ awọn aṣiṣe lilọ kiri lori ayelujara ati awọn asopọ ti o padanu
Bi o ba gbe awọn ohun-ini rẹ ti aaye sii lati ibi ipamọ ti o ti tẹlẹ, o ṣee ṣe fun awọn ohun-ini, gẹgẹbi awọn eya aworan ti a ko ni yẹ tabi fun awọn faili kan lati fi silẹ. Ti eyi ba ṣẹlẹ, awọn alejo rẹ le ṣe iriri awọn aṣiṣe 404. Ṣayẹwo oju-iwe 404 nigba ati lẹhin iyipada - yi log yoo ṣalaye ọ ti awọn asopọ tabi ti ohun-iṣẹ ti o ko ni ṣiṣẹ lati ṣe atunṣe lati mu aaye rẹ pada lati wa ni kikun iṣẹ.
Ni ọpọlọpọ igba, o le ṣe lilo .htaccess redirectMatch ati àtúnjúwe lati tọka awọn ipo faili ti atijọ si awọn tuntun. Awọn wọnyi ni diẹ ninu awọn koodu ayẹwo ti o le lo.
Ṣeto oju iwe 404 rẹ
Lati dinku bibajẹ ti awọn ọna asopọ fifọ - nibiti gbe.html jẹ oju-iwe ti o fẹ lati ṣafihan awọn alejo rẹ nigbati aṣiṣe 404 kan wa.
Ati, ni gbogbo igba ti o ba yi oju-iwe aaye rẹ pada ni titun ogun -
RewriteEngine lori RewriteCond% {QUERY_STRING} ^ id = 13 $ RewriteRule ^ / page.php $ http://www.mywebsite.com/newname.htm? [L, R = 301]
Awọn aṣiṣe aṣiṣe ipamọ laasigbotitusita
Ewu wa nibiti o le jẹ ibajẹ data rẹ lakoko yiyi. Emi yoo lo Wodupiresi gẹgẹbi apẹẹrẹ nitori pe ohun ti Mo mọ julọ pẹlu.
Ni irú ti o tun le wọle si tabulẹti WP rẹ, gbìyànjú lati kọkọ gbogbo awọn afikun ati ki o wo boya ibi ipamọ data ba fa soke ni ọna ti o tọ. Lẹhin naa, tun ṣe atunṣe wọn ni ẹẹkan, ṣayẹwo oju-iwe ile ni gbogbo igba lati rii daju pe o n fihan ni otitọ.
Awọn nkan yoo gba diẹ ẹ sii ti o ko ba le wọle si dasibiti rẹ. Gbiyanju awọn igbesẹ oriṣiriṣi wọnyi lati ri ti o ba ṣiṣẹ:
Tun-gbe igbasilẹ rẹ, kọ lori ibi ipamọ tuntun.
Ṣayẹwo ibi ti aṣiṣe ibajẹ ti n wa lati ọdọ ati gbiyanju lati ṣatunṣe faili naa lati aaye atijọ rẹ si titun rẹ.
Šii faili naa ki o ṣayẹwo lati rii daju pe o n tọka si olupin titun rẹ.
Solusan #1: Wodupiresi idojukọ aifọwọyi data
Ti awọn igbesẹ yẹn ko ba ṣiṣẹ, o le ni lati ṣe kekere ti ifaminsi, ṣugbọn emi yoo sọ ọ nipasẹ rẹ.
Akọkọ, ṣi aaye tuntun ni FTP ki o si lọ si faili wp-config.php rẹ. Fọọmu naa yẹ ki o wa ni folda akọkọ ti o tẹsiwaju si bulọọgi. Ṣe afẹyinti faili yii ṣaaju ki o to ṣe awọn atunṣe kan.
Wa fun itọnisọna yii:
/ ** Ọna to dara si itọnisọna WordPress. * /
O kan loke ila naa, fi ọrọ yii kun:
yan ('WP_ALLOW_REPAIR', otitọ);
Fipamọ awọn ayipada rẹ ki o si fi eto FTP rẹ silẹ fun bayi. Ṣii soke aṣàwákiri wẹẹbu ayanfẹ rẹ. Lọ si adirẹsi ti o wa fun atunṣe naa
Bọtini bọtini yoo ṣiṣẹ lati tunṣe igbasilẹ rẹ silẹ ṣugbọn o kan mu "Tunṣe ati ki o Je ki".Nigbati ilana naa ba pari, iwọ yoo ri iboju ti o wo ọkan ti o wa ni isalẹ. O yoo paapaa leti pe ki o yọ ila tuntun naa kuro ninu faili iṣeto rẹ.
Solusan #2: phpMyAdmin
Ti awọn ọna ti o loke ko ba ṣiṣẹ, igbesẹ atẹle rẹ ni lati ṣe olori si aaye data rẹ.
Eyi le jẹ ohun ti o lelẹ ti o ko ba ni idaniloju pato bi awọn apoti isura infomesonu ṣe n ṣiṣẹ, ṣugbọn awọn igbesẹ naa rọrun. Paapa ti o ba paarẹ data naa patapata, o yẹ ki o ni anfani lati tun-ṣe igbasilẹ lati ọdọ olupin atijọ ati gbejade lẹẹkan si. Nibẹ gan ni ko si ye lati bẹru bi igba ti o ni afẹyinti data rẹ.
Wiwọle phpMyAdmin lati oju-ogun ayelujara tuntun rẹ. Yan igbasilẹ database rẹ. Eyi ni a npe ni yoursite_wrdp1.
Sibẹsibẹ, eyi le yato. Iwọ yoo rii "WP" ni ibikan ninu akọle, tilẹ (wo aworan ni isalẹ). O tun le wa orukọ orukọ ipamọ ti a ṣe akojọ rẹ si faili wp-config.php ti o ṣii ni igbesẹ loke. Tẹ lori orukọ database ni phpMyAdmin lati ṣii rẹ.
cPanel> Wiwọle phpMyAdmin> Tẹ lori orukọ ipamọ data ito sii.Lọgan awọn ẹrù ipamọ, ṣayẹwo bọtini ti o sọ "Ṣayẹwo Gbogbo / Ṣayẹwo awọn tabili nini ori".Yan "Tunṣe Ipilẹ ni apoti isalẹ silẹ si ọtun ti ibi ti o ti ṣayẹwo apoti nikan.Iwọ yoo fun ọ ni ipo nipa boya awọn tabili ti tunṣe ati oke iboju rẹ yẹ ki o sọ “a ti pa ibeere SQL rẹ ni ifijišẹ”.
4- Pointing domain DNS to your new web host
Nigbamii, iwọ yoo nilo lati yipada igbasilẹ DNS ti aaye ayelujara rẹ (A, AAAA, CNAME, MX) si awọn olupin olupin ayelujara tuntun ni Alakoso rẹ.
Igbasilẹ DNS rẹ jẹ akojọ ti "awọn itọnisọna" ti o ṣọkasi ibiti o ti firanṣẹ olumulo; gbigbe igbasilẹ DNS rẹ si awọn olupin tuntun ṣe idaniloju pe awọn alejo yoo wa aaye rẹ bi a ti pinnu, dipo ki o gba aṣiṣe kan tabi aṣiṣe aṣiṣe. Eyi jẹ ilana pataki kan - rii daju pe o gba alaye DNS ti o gba lati ọdọ ogun wẹẹbu rẹ titun.
Eyi ni awọn ilana igbesẹ-nipasẹ-Igbese lori iyipada aaye ayelujara ayelujara rẹ ni Godaddy, Name Cheap, Ati Domain.com.
sample
If your domain is currently registered at your old web host, consider transferring the domain to a third party so that in case you do ever need to switch hosts again, your domain can come with you more easily and without any potential complications.
5- Verify DNS propagation
Lọgan ti o ba ti beere lati gbe igbasilẹ igbasilẹ DNS rẹ, iyipada le gba nibikibi laarin awọn wakati diẹ si ọjọ ni kikun lati gbe laaye.
Once the switch go live, alert your former hosting company as to the cancellation. Monitor your site uptime closely for at least a week or so to ensure everything at the new web host is working properly.
Akiyesi: Lo Kini Mi DNS lati ṣe awari DNS lati ṣayẹwo awọn orukọ-ašẹ ti awọn orukọ olupin ti isiyi IP ati awọn igbasilẹ DNS lati awọn olupin orukọ pupọ ni ipo 18. Eyi n gba ọ laaye lati ṣayẹwo ipo tuntun ti igbẹju DNS.Ilana DNS jẹ ẹlomiiran ọpa DNS miiran lati ṣayẹwo ipo igbesi aye DNSS lati ori awọn ipo 20.
Mọ Nigba Ti O to Akoko lati Yi Alejo Wẹẹbu rẹ pada
Ṣiṣe iyipada si alejo gbigba wẹẹbu tuntun le jẹ akoko ti o ni aapọn - eyiti o jẹ idi ti ọpọlọpọ awọn oniwun aaye fẹran ko lati yipada ogun gbalejo ayafi ti o ba jẹ dandan. Lẹhin gbogbo ẹ - kilode ti akoko ati ilokulo nigbati ohun gbogbo n ṣiṣẹ dara?
Nitorinaa nigbawo ni akoko ti o to lati bẹrẹ wiwa fun ogun titun? Bawo ni o ṣe mọ pe ogun ayelujara rẹ ni gbongbo ti o fa iṣoro oju opo wẹẹbu rẹ? Eyi ni awọn tanilolobo diẹ:
Aaye rẹ nigbagbogbo n lọ si isalẹ
Aaye rẹ jẹ o lọra pupọ
Iṣẹ onibara ko wulo
O ni aaye diẹ, iṣẹ-ṣiṣe, tabi awọn ohun elo miiran
O san sanwo pupọ
O ti ti fipa pọ, diẹ ẹ sii ju ẹẹkan lọ
O ti gbọ nipa iṣẹ nla kan ni ibomiran
A Good Web Host = Better Sleep at Night
Nigbati mo yipada si Atilẹyin InMotion ọdun sẹhin - atilẹyin imọ-ẹrọ jẹ bẹ wulo ati yi oju-iwe mi pada lailewu ati daradara nigbati mo sùn. Mo ti ji soke si aaye ayelujara ti o ṣiṣẹ ni kiakia ati ki o gbẹkẹle laisi ipilẹṣẹ nikan ni iṣẹ.
Ti o ko ba lero pe ipele ti itunu, tabi ti o ni idaamu nipa awọn iroyin buburu ti o ti ri lori aaye ayelujara rẹ, o le jẹ akoko fun iyipada kan.
Oludasile ti WebHostingSecretRevealed.net (WHSR) - Atunwo agbeyẹwo ti o gbẹkẹle ati lilo awọn olumulo 100,000. Die e sii ju ọdun 15 ni iriri ni awọn oju-iwe wẹẹbu, alafaramo tita, ati SEO. Olupese si ProBlogger.net, Business.com, SocialMediaToday.com, ati siwaju sii.