I need do know how to genericly move local virtual host to a hosted website.

They have: 2 posts

Joined: Feb 2009

I have to move a load of virtual web sites from several hosts, and I need to place a re-director in the old host to point to the new. I am using Apache in this instance but I am not that familiar with it, I am use to IIS. to me it looks like you have to move the whole set of sites to the new host and place a re-director. make the nessary dns entries and it is done.

Please let me know the process for moving the virtual sites and how to ftp multiple files and directories.

thanks

jack

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

Hi jharl,

Welcome to TWF! Laugh

I do not use IIS (except for one site) but I will try to help.

In general, you need to replicate your structure on the new server exactly, including directories as well as databases. Very often you may have to change the database name or db username depending on the structure of your host (ie, need to add a prefix youraccount_dbname)

In your title you say they are local virtual host - does that mean you have them on your computer, not online? If that is the case, only local, you do not need a redirect, you only need to configure the DNS.

This wikipedia page explains redirects including 301, javascript, http-refresh etc

They have: 2 posts

Joined: Feb 2009

I mean local as I have direct access in front of me. I can touch the pc that they are on. I have the dns local on the same network but the website will be going to a hosting company elsewhere online remotely.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

So you have the files on some computer acting as a server for your network, and these domains are also registered with DNS? Something like this?

Then the original advice applies about duplicating the current structure on the remote server(s) and you would need to register the DNS with the new IP, not sure what would happen to the local DNS, I suppose you would need to update that with the new IPs too.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.