• Welcome to DNForum.com - Domain Investor Forum, Free Domain Marketplace and a community for 45+ domain pros
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

http://domain.com forward to http://www.domain.com - zone file question.

Status
Not open for further replies.
Any particular reason you do not want to do it using .htaccess?
 
Add this to your .htaccess file, just change "web" to your domain change ext. if needed.


#Begin non-www page protection #
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.web\.com [NC]
RewriteRule ^(.*)$ http://www.web.com/$1 [L,R=301]
</IfModule>
# End non-www page protection
 
Status
Not open for further replies.
Back
Top Bottom