xiao
Intern
Intern
  • UID5271
  • Fans0
  • Follows0
  • Posts12
Reads:95265Replies:8

How to transfer existing website from Web Hosting to ECS?

Created#
More Posted time:May 9, 2018 11:01 AM
my webiste is currently running on light web hosting now.
As more and more users visit, I feel the webiste speed is getting slower ( i guess because it is hosted on Web Hosting, not cloud)


So my question is how to transfer a whole webiste to ECS from web hosting?
I have used FileZilla to upload all files to Web Hosting, then I bought domain from alibaba also.


Please help!
My web: CUNYStudentPost.com
SUNYPost.com

hanneng
Engineer
Engineer
  • UID3277
  • Fans5
  • Follows0
  • Posts83
1st Reply#
Posted time:May 11, 2018 9:39 AM

xiao
Intern
Intern
  • UID5271
  • Fans0
  • Follows0
  • Posts12
2nd Reply#
Posted time:May 14, 2018 3:04 AM
Thank you for replying!


That is acutally not what I am looking for.
我现在有这个网站在虚拟主机上,现在访问量增多,我感觉速度好想在放慢。
我想要大一些的容量的主机,和更先进的esc。(如果刚开始我建造的时候,如果我选龙esc,我也是可以创建这个网站,但是我选了虚拟主机)
现在的困难是,如果把现有的网站转到esc,并且不会损失任何现有网站的数据,比如用户数据,网站的任何数据。
(我也可以重新建一个,但是用户都没有了)


请您帮忙,谢谢您!

xiao
Intern
Intern
  • UID5271
  • Fans0
  • Follows0
  • Posts12
3rd Reply#
Posted time:May 14, 2018 3:09 AM
hanneng:Hi Xiao

Refer to this link
https://www.alibabacloud.com/help/product/29830.htm
https://www.hanneng.net/best-low-cost-we...
回到原帖
https://bbs.aliyun.com/simple/t261890.html  This one gave me some instruction, but still very unclear!
Please advice!

xiao
Intern
Intern
  • UID5271
  • Fans0
  • Follows0
  • Posts12
4Floor#
Posted time:May 18, 2018 19:03 PM
Anyone???

xiao
Intern
Intern
  • UID5271
  • Fans0
  • Follows0
  • Posts12
5Floor#
Posted time:May 18, 2018 19:06 PM
I now have this website on the web hosting. Now that traffic has increased, I feel that speed is slow down.
I want larger capacity hosts, and more advanced esc.
The difficulty now is that if I transfer my existing website to esc, I will not lose  existing site data, such as user data, any data on the site.

So how can I transfer data with domain from Web Hosting to ECS?

www.CUNYStudentPost.com

hanneng
Engineer
Engineer
  • UID3277
  • Fans5
  • Follows0
  • Posts83
6Floor#
Posted time:Jun 15, 2018 10:47 AM
Generally, here are the high level steps

1) create an ECS instance on Alibaba Cloud
2) install applications
for example web server (Apache or nginx) , Database (MySQL), php, etc
3) migrate the content (images, statics, documents)  from web hosting server to the ECS
4) edit DNS entries (A record) to the ECS instance.

Ranjithkumar
Engineer
Engineer
  • UID5737
  • Fans4
  • Follows3
  • Posts129
7Floor#
Posted time:Jun 15, 2018 20:07 PM
You can easily migrate the website...

Procedure :
     Step 1: Back up the website code and DB file.
     Step 2: Create an ECS Instance
     Step 3: Install the stack you needed like a LAMP (Linux, Apache, MariaDB, PHP).
     Step 4: Upload the files to ECS
     Step 5: Configure the DNS

If you find any difficulties just revert back here...

BrianBae
Assistant Engineer
Assistant Engineer
  • UID5909
  • Fans1
  • Follows0
  • Posts58
8Floor#
Posted time:Jul 10, 2018 1:30 AM
You should transfer manually.

1. Backup your Database to text file.
2. Backup your web data to tar file(Compressed)
3. Create ECS
4. Install Apache, MySQL, PHP
5. Upload web data
6. Restore DB Data(Import)
Guest