Change a subdomain once it's made

Change a subdomain once it's made

Posted by: breakpoint
Posted on: 2006-03-14 18:00:00

Hey group,

Just set up a phpBB on a subdomain I created, mmmm.breakpointcity.com, but soon realized that the domain URL would just confuse people. Thought it was a good idea at the time, heh.

Anyway, I want to change the subdomain to downtown.breakpointcity.com while still retaining the data I've created already at mmmm.breakpointcity.com. Is there any easy way to do this, or should I start over from scratch?

Thanks guys, this forum has been very helpful to me in the past.

-Brian

Breakpoint City

Create the new one

Posted by: sdayman
Posted on: 2006-03-14 20:14:00

I've created a new subdomain, and then logged in via FTP or SSH and renamed newsub.example.com to trash.example.com (or just delete it), and then renamed mmmm.example.com to newsub.example.com.

Be sure to edit your config files so they point to the new domain name.


-Scott

Re: Change a subdomain once it's made

Posted by: norm1037
Posted on: 2006-03-15 02:45:00

Create your new sub-domain and copy across your data then go to the domain manage page here you will see a cross next to the domain/subdomain which you can use to kill the sub-domain. That will ensure the dns records and the sub-domain database records are properly updated. Save any material you need first though.
You can guarantee that in a few months when you try to recreate the old sub-domain you will wonder why you are told that it already exists. wink

Tags: subdomaindomain urlconfusehehphpbbidea