Updating a URL/Domain in 5.7

Permalink
Hi all,

It might be the heat wave and no AC, or the smoke from forest fires, but I cannot for the life of me find any information on changing the domain/URL of a site in Concrete5.7.

Just so it's super clear, the client has a live site and so I developed the new site under a subdomain of my own domain name. We're ready to go live and I need to update the 5.7 instance to their domain name so I can redirect the DNS records to point to the new site.

This used to be simple in config.php. but I can't find any obvious method for this now, nor any documentation to walk me through it. Any help would be appreciated.

Thanks!

TooqInc
View Replies:
hutman replied on at Permalink Reply
hutman
I don't think you have to do this in 5.7, it just pulls the URL in when you access the page. Is this method causing issues for you?
TooqInc replied on at Permalink Reply
TooqInc
I think you're misunderstanding my issue. The site has been developed onhttp://test.mydomain.com and needs to now be updated tohttp://clientsite.com. In 5.6 and below, this was changed in the config.php file but that's no longer a thing and I can't find any info about how to do this in 5.7+.
hutman replied on at Permalink Reply
hutman
I'm not misunderstanding you, if you point the DNS to your new hosting location that should be all you need to do. What are you seeing on the site that still references the old domain?
TooqInc replied on at Permalink Reply
TooqInc
The site under the sub-domain is the new site. I can repoint DNS but then I'd be pointing it to "http://test.mydomain.com". It's not being redeployed anywhere, I simply need to update the site's domain name before I repoint the DNS from the old site to the new one.

Essentially, I need the 5.7 version of how to do this:https://www.concrete5.org/documentation/how-tos/editors/controlling-...
TooqInc replied on at Permalink Reply
TooqInc
I've got this sorted out. I'm not sure if all the parts of the fix are necessary, but under site.com/index.php/dashboard/system/seo/urls I added the canonical name and back in WHM, changed the account name to the new site name and Concrete5 did the rest.

While it's pretty simple, after coming from a slightly more complex process, this would be a nice piece of documentation to have had. If I get some time to test things a bit more, I'll write up a How To so it's easy to find the answer when looking.
ivezic replied on at Permalink Reply
ivezic
Hey Tooqinc!

I am facing the same issue here. We are trying to move over our site onto our LAN connection from our dev's server. As far as I know, everything has been set up, the files are in a root folder on our server, I have loaded and configured the sql database to 'localhost' but I have no idea how to actually launch or access the new version of the site.

We are using IIS to run the site on our servers.
We have set up the DNS and created a new domain name, and the /application files seem to be getting picked up through our IIS server, but we still have no idea how to access the site under the new domain!

Any solutions would be appreciated, thanks!
TooqInc replied on at Permalink Reply
TooqInc
A quick checklist:

- DNS is setup with the correct domain name and pointed at the server

- In the settings where you turn on pretty URLs, the canonical links are set to the site name.

- In cPanel (or whatever hosting software), the domain name is set on the account and not under a dev domain.

- Check your .htaccess for any overrides that might be causing issues.
thein replied on at Permalink Reply
Hello - I created a site on Concrete5

I set the canonical sites to our newly purchased domain,prior to arranging a hosting location for the domain and site.

Now, when I try to log into Concrete5 to make edits it goes to the Go Daddy page (where the domain was purchased)

How do I gain access to this site? Can I just delete and start over?
TooqInc replied on at Permalink Reply
TooqInc
Sounds like the nameservers or the IP they point to have to be updated still. Depending on the TTL setting it can take some time.
thein replied on at Permalink Reply
I appreciate the quick response. I have not selected a company to host the site yet. What company do you recommend and what information will they need from me? I am a rookie :) Thank you
TooqInc replied on at Permalink Reply
TooqInc
Depends on your needs really. A few hundred visits a day?https://www.concrete5.org/download/hosting... probably has some reasonable solutions. Namecheap offers low priced shared hosting as well.
thein replied on at Permalink Reply
All good suggestions, I will look into them. What information will they need?