Tuesday, February 18, 2014

How do you copy an ASP.NET website on one Hosting company to a site on another?

Sometimes you change your website hosting from one vendor to another. You want to transfer your site content from the old hosting provider to the new hosting provider. The general idea is the same but in this case we are considering moving from one ASP.NET hosting provider to another.

Domain Name:
First of all there is a consideration of domain name. You can buy a new domain name or you can use your existing domain name. In this case we are assuming that the existing domain name will be used and only the site content is moved.

Steps in moving to another:
1. Do not close the account with your old hosting provider as this may result in the loss of your content

2. Buy a new hosting account with the new hosting provider. If you are looking for a ASP.NET hosting you should choose one that hosts ASP.NET

http://www.findbestwebhosting.com/top10hostingcompanies.aspx/windows-web-hosting/1

Note: The above site was picked at random and the blogger has no interest in the above or any of the others that may get mentioned.

3. After you opened the account you will can get a temporary website (also an FTP site, email, etc. )Create your password for the various items (email, FTP, HTTP, etc.).

4. Download and install the free version of Visual Studio 2013 Express for Web (in this case Microsoft Visual Studio Express  2013 for Web). With this tool you can FTP your site content from the site on your old Hosting Provider to the temporary ftp site on the new hosting provider. The transfer itself may take considerble time depending on the amount of stored content.

  • After launching VS 2013 Express, clicking on File | Open Web Site... opens the following display.

  • Enter the ftp site of the previous hostings provider and enter your credentials.
The site contents will be displayed in the Solutions Explorer
Now the WEBSITE menu item gets displayed.
  • Click on WEBSITE and click Copy Web Site... as shown.

The FTP screen opens as shown.


  • In the above screen click on Connect, the connect to remote site is activated and the Open Web Site window is displayed again. Now enter the ftp site and credentials for the new hostings provider.
Both the source and target gets displayed as shown.
 
 
  • All that remains is highlight the items from your old site on the left(Source) to the target site using the arrows (watch directions) in between source and target.
The time it takes to transfer will depend on many factors that includes the network connectivity and the amount of data.

You may be wondering whether the new site created from the previous hostings site will function as it did earlier. This will depend on a lot of factors as the technology might have progressed and the elements (databases,user accounts, transacted items etc) may not be compatible versions. However you may be able to recreate most if not all of the features. Patience.

Before you make the ftp transfer you should have username and password for the old hosting account and the new recently purchased hosting account.
Also make sure,
  • You can ping both sites
  • Run tracert from the command window for the new hosting provider to make sure their router can be reached.
  • Make sure telnet is enabled in your computer.


 

9 comments:

ASP.NET & Windows European Hosting Provider said...

Nice tutorial. It will help people that want to migrate their site from old provider to new provider.

Best Regards,

HostForLIFE.eu
European Windows ASP.NET Hosting Provider

Unknown said...

ASP is strictly limited to the script languages but the newer version is never being restricted to that extent.You can also get more information from mywindowshosting.com,which providing best asp.net hosting services.Thank you very much for this informative blog.

Unknown said...

Reseller Hosting - Be A Web Hosting Reseller & Earn Money

http://www.gigapros.com/portal/reseller-hosting/

Unknown said...

hello sir
The only advantages of doing this is that sites can run in a single application domain and therefore consume less server resources than if you setup separate IIS or Apache web sites. Each web site gets its own application instance and this carries some overhead in terms of server resources.I liked your new and innovative techniques.Thanks for sharing this useful information.

Unknown said...

Need a low-priced Reseller Hosting with CPanel? Start a reseller web hosting business nowdays with our best reseller hosting platform & earn money.
.........
Best Reseller Hosting, Java Hosting

Unknown said...

Hats off Dude ,from last one week I am just searching about this and after that when I am unable to copy go to myASP.NET ,he offers support for ASP.NET 4.5/ 4.0/ 3.5/ 2.0 technologies including Web Services, ASP.NET Ajax, Linq and ASP.NET MVC 4/ 3 among others.so now I have a much more option.

Unknown said...

Yeah, it's really a good site ,but i require a free asp site in which I want to got all the information on Free ASP.NET Hosting ,recently I got a free sie of myasp.net freeaspnethosting, Is it a good site or not?

mysorian said...

Looks OK. Give it a try and if you don't like it you can always get out. Read their restrictions.
Good Luck,

Jay

Unknown said...
This comment has been removed by a blog administrator.