5.5 Changin domain process
Permalink
Hi All
I have seen lots of posts about how to change a domain name from a test site to the live site, however the advice seems to be either confusing or for earlier releases. I am on version 5.5.2.1.
Can someone point me to a definitive process to change the domain name?
Thanks
I have seen lots of posts about how to change a domain name from a test site to the live site, however the advice seems to be either confusing or for earlier releases. I am on version 5.5.2.1.
Can someone point me to a definitive process to change the domain name?
Thanks
Hi Mhawke
The confusing thing for me is in 5.5 these equivalent lines don't exist:
define('BASE_URL', 'http://site.com');
define('DIR_REL', '/concrete5');
If I take the step of amending these lines out of the processes then there doesn't seem to be anything I need to do. Is this correct?
The physical site will not move location. All that will happen is the hosting company will change the domain name from the temporary name to the live domain. I might be reading too much into this, however I don't want any surprises when we cut over.
Thanks
The confusing thing for me is in 5.5 these equivalent lines don't exist:
define('BASE_URL', 'http://site.com');
define('DIR_REL', '/concrete5');
If I take the step of amending these lines out of the processes then there doesn't seem to be anything I need to do. Is this correct?
The physical site will not move location. All that will happen is the hosting company will change the domain name from the temporary name to the live domain. I might be reading too much into this, however I don't want any surprises when we cut over.
Thanks
I did a quick test on me server and copied all the files from one folder to another. Everything else did not move ie the dB. So instead of it saying:
myserver.com/testsite1
it said
myserver.com/testsite2
Initially it broke all the links and I couldn't login. However I changed .htaccess file from:
RewriteBase /testsite1/
to
RewriteBase /testsite2/
Is this all there is?
Thanks
myserver.com/testsite1
it said
myserver.com/testsite2
Initially it broke all the links and I couldn't login. However I changed .htaccess file from:
RewriteBase /testsite1/
to
RewriteBase /testsite2/
Is this all there is?
Thanks
Sorry, I was confused. All the guides you've been reading, including the resources I suggested, are for physically moving a site. What you want to do is point your domain name to a different folder. That is a hosting issue. I would contact your hosting company and ask them to help you with this.
I'm not an expert on re-directing through the .htaccess file so I can't comment on whether that's a good long-term solution or not.
By the way, I think the lines you quote are still needed in 5.5. Here's what's in my site.php:
define('BASE_DIR', 'http://www.mysite.ca');
define('DIR_REL', '');
'BASE_DIR' is used to tell some C5 functions where to start looking for your site on the internet.
'DIR_REL' is used to tell C5 that your files are located in a folder off the root.(ie. RELative to the root)
I'm not an expert on re-directing through the .htaccess file so I can't comment on whether that's a good long-term solution or not.
By the way, I think the lines you quote are still needed in 5.5. Here's what's in my site.php:
define('BASE_DIR', 'http://www.mysite.ca');
define('DIR_REL', '');
'BASE_DIR' is used to tell some C5 functions where to start looking for your site on the internet.
'DIR_REL' is used to tell C5 that your files are located in a folder off the root.(ie. RELative to the root)
http://www.concrete5.org/documentation/installation/moving_a_site...
http://www.concrete5.org/documentation/how-tos/developers/how-to-mo...