Use a temporary domain for development?
Use a temporary domain for development?
Is it doable to use a temporary address for development and then convert the finalized page to another domain when done?
Re: Use a temporary domain for development?
I'm not expressing my thoughts well enough...
If I develop a page at my web hotel with a temporary url that my ISP provides when adding a new webspace at the server, can I redirect the DNS for a domain now used for another page to point at the my new page and get it to work?
If I develop a page at my web hotel with a temporary url that my ISP provides when adding a new webspace at the server, can I redirect the DNS for a domain now used for another page to point at the my new page and get it to work?
Re: Use a temporary domain for development?
Yes you can. But - of course - you shouldn't use hard coded urls.
So make use of:
{cms_selflink ...}
{root_url} (in stylesheets: [[root_url]])
{uploads_url} (in stylesheets: [[uploads_url]])
And in MicroTiny wysiwyg you use the 'cmsms' page selector when adding internal links.
After changing the domainname better clear cache of cmsms and if you're using CGSmartImage module you need to change one setting iirc. Think it stores a url which does NOT change afterwards automatically when changing domain name.
So make use of:
{cms_selflink ...}
{root_url} (in stylesheets: [[root_url]])
{uploads_url} (in stylesheets: [[uploads_url]])
And in MicroTiny wysiwyg you use the 'cmsms' page selector when adding internal links.
After changing the domainname better clear cache of cmsms and if you're using CGSmartImage module you need to change one setting iirc. Think it stores a url which does NOT change afterwards automatically when changing domain name.