I offer a free starter service where the package gets created and new clients can create a website with rvsitebuilder.
Once they publish the site though it looks strange as they have not purchased the domain as yet and are using the temporary url like http://servername/~username - to fix this I add the domain which they have not registered as yet to the /etc/hosts file to get it to load correctly.

Thsi is obviously due to the css and toher files pointing to the domain selected during checkout.

Any ideas on how to sort this out?