Hi folks. I am new to this forum and request some guidance on resolving an issue. I recently set up a Verio Windows shared server plan so that I can host up to 5 web sites on the plan. At the same time, I had Verio move 11 domain names I had previously registered with them (as placeholders for future use) to be under the new hosting plan's primary domain name on this server (for ease of managing my domain name renewals). So, I uploaded files for the primary domain name and the index page comes up fine. However, if I type in one of the other domain names in the browser, the same index page comes up. Verio set up my account to upload an .htaccess file to redirect the unused domain names to another file (such as a placeholder in the same webroot directory as the primary domain name), but I can't seem to make this work. I have read a number of posts describing the correct syntax but I am lost! I have initially used Verio's recommended syntax to no avail:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.forexample-domain.net
RewriteCond %{HTTP_HOST} machine.forexample-domain.net$
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1
So, the big question is this: if someone types in a domain name I do not plan to make a web site for (abc.com), how can I redirect this URL (and all my others) to a page in the webroot directory of my primary domain name (xyz.com/redirectmessage.html)? Thanks for your assistance. Michael