| Return 404's for domain no longer in use [message #1908] |
Wed, 07 July 2010 20:04 |
worm Messages: 1 Registered: July 2010 |
|
|
|
Here's my exact situation.
I used to host a website with GoDaddy for one domain (let's call it 'old.com'). I removed that domain and specified the new domain (let's call it 'new.com') that I wanted to use and put a different website there (this is NOT a 301 question).
The new domain and site works fine, but it is taking some time for the DNS servers to realize that 'old.com' should not be pointing to the webserver that 'new.com' is now using although I've updated the DNS record.
I realize this will sort itself out when the DNS records propagate.
In the mean time, I want all requests to 'old.com' to return a 404.
How would I achieve this with .htaccess?
Thanks in advance!
|
|
|