Jump to content
Ultim8pc

Moving website to another domain

Recommended Posts

I currently have cubecart hosted and running on Domain A.
Due to a re-branding excercise, I want to move the existing site to another Domain (B). This would be to avoid having to setup a new website from scratch..

My theory is I can leave the database where it is, move all the website files to the new domain and hey presto?
Once moved I just have to make some changes to logos and graphics.

Anyone have any thoughts on this?

 


 

Share this post


Link to post
Share on other sites

Easy-peasy!

You can leave the code where it is.

Have Domain-B point to the folder where the code is, and have Domain-A now point to a "simple landing page" (or have htaccess redirect).

CubeCart does a really good job of figuring out where it is by using the variables provided to PHP by the web server (which includes the host name used).

The only real concern is solved by clearing CubeCart's cache.

 

Share this post


Link to post
Share on other sites
12 hours ago, bsmither said:

and have Domain-A now point to a "simple landing page" (or have htaccess redirect).

Always, always create 301 redirects when making any url or domain changes.  In this case a simple wildcard 301 redirect from the old domain to the new one

Share this post


Link to post
Share on other sites

Personally, I'd just recreate the whole site on the new domain, no need for redirects, 301's, htaccess etc.

On the new domain create the databse with the same name, same password, same user rights etc.

Ftp the site files and folders from one to the other.

Export the database on the live site, and import on it's new home.

 

You could make as many dummy runs as you like until you've fine tuned the process, without affecting anything on the live domain.

This also gives you the liberty of playing with the transferred site to make sure everything works as expected.

I've done this a few times, I could probably get actual down time to under 30 minutes.

 

 

Share this post


Link to post
Share on other sites

Over-complicating it and if it is an established site already then 301 wildcard redirect is mandatory unless you want to lose all indexed urls and link juice built up on the original domain !!

No need for messing around like that - simply get the hosting company to change the domain name on the hosting account and create the 301 redirect - all in 20 seconds ?  We have done it many times for clients

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...