How do parked domains work?

Its a lot simpler than you think:

Code:
RewriteCond %{HTTP_HOST} ^www.domainname\.com
RewriteRule ^(.*)$ http://www.domainname.com/$1 [L]

That should do the trick.
 
Thought I'd pull this back instead of starting a new thread.

I've got two domains, the-iblog.com and the-iblog.co.uk. I have the .com forwarded to .co.uk, but I don't want the address bar to reflect this. I want it to still say.com if that's the site the came in on. How would I do this?

Thanks
 
Use the same example as above:

Code:
RewriteCond %{HTTP_HOST} ^www.domainname\.com
RewriteRule ^(.*)$ http://www.domainname.com/$1 [L]
 
Back
Top Bottom