Forum Moderators: phranque

Message Too Old, No Replies

shared to vps

how to update new site?

         

jack38

12:54 pm on Nov 23, 2006 (gmt 0)

10+ Year Member



I am moving my site from shared to vps. I will keep my old site live until new site on vps is ready, and then will update dns records.

How do I update and work on new site, when domain name points to old site? I need to login to oscommerce admin and update catalog - products, categories etc., and check these in my browser. How to do?

Romeo

1:51 pm on Nov 23, 2006 (gmt 0)

10+ Year Member



You may add a record to the 'hosts' file of your local work station with your domain name being associated with the IP address of the new server.
Don't forget to take out that record when no longer needed.

Kind regards,
R.

Mistra

5:40 pm on Nov 23, 2006 (gmt 0)

10+ Year Member



VPS allows you to use unlimited domains (depend on which web host). Work on your site at the VPS with another domain. When everything is ready, change it to the actual domain that you wanted to use.

[edited by: Mistra at 5:40 pm (utc) on Nov. 23, 2006]

Romeo

1:11 pm on Nov 24, 2006 (gmt 0)

10+ Year Member



Yes, working with an alternate domain name may work, too.
While the login to do the administrative stuff should work fine, the checking of the site with a web browser may only work if all internal links on the site are ./relative and there are no .htaccess rules using the main domain name.

Kind regards,
R.

jack38

6:20 am on Nov 25, 2006 (gmt 0)

10+ Year Member



I just edited the hosts file, adding the ip/domain. It works fine. I can see the new site, and can login to osc admin through the browser regularly. I can even see my old site on the shared account. The only thing I cant see is the old ecommerce site.