Changing base site name for site created with Umbraco
If I create a web site (say by modifying the Runway sample) and want to rename the base domain, are there any issues around that? That is, say I'm building my site as dev.peterkellner.net, then when I get ready to go live with it I want to rename it to live.peterkellner.net, are there any issues around that? What steps do I need to do for that to happen? Is there anything I need to be aware of to keep myself out of trouble?
Have you set the hostname for the root node of your website? (via right-click > "Manage Hostnames")
If not, then as long as your IIS web-server is configured to point your domain/sub-domain towards your website, then there should be no problems - the change would be seamless.
If you have set a hostname for the root node - then you just need to modify/update that value.
also make sure that you don't hard code your current domain anywhere, e.g. on links in templates, image sources as absolute Urls etc. As long as you keep things relative and things should be fine (in fact, we develop all our web sites this way, the final hostname gets only applied on the day it goes live). Using Umbraco's various content pickers is fine as well as the data just refers to node IDs in the system and not to absolute Urls.
Changing base site name for site created with Umbraco
If I create a web site (say by modifying the Runway sample) and want to rename the base domain, are there any issues around that? That is, say I'm building my site as dev.peterkellner.net, then when I get ready to go live with it I want to rename it to live.peterkellner.net, are there any issues around that? What steps do I need to do for that to happen? Is there anything I need to be aware of to keep myself out of trouble?
Thanks,
Hi Peter,
Have you set the hostname for the root node of your website? (via right-click > "Manage Hostnames")
If not, then as long as your IIS web-server is configured to point your domain/sub-domain towards your website, then there should be no problems - the change would be seamless.
If you have set a hostname for the root node - then you just need to modify/update that value.
Let us know if you run into any problems.
Cheers, Lee.
Hi Peter,
also make sure that you don't hard code your current domain anywhere, e.g. on links in templates, image sources as absolute Urls etc. As long as you keep things relative and things should be fine (in fact, we develop all our web sites this way, the final hostname gets only applied on the day it goes live). Using Umbraco's various content pickers is fine as well as the data just refers to node IDs in the system and not to absolute Urls.
All the best,
Sascha
Thanks!
is working on a reply...