Search  
   
Browse by Category
 
Netfirms 24/7 Support .: DOMAIN .: How do I configure a wildcard A record?

How do I configure a wildcard A record?

To configure a wildcard A record to point to an external IP (one "not" given out by Netfirms), follow these instructions:

1. Login to the Netfirms Control Panel at https://controlpanel.netfirms.com
2. Click Domains
3. Choose Domain Manager
4. Click Add
5. Click the A Record tab
6. In the Enter a subdomain box, enter: *
7. From the pull-down menu, choose the domain you wish to create a wildcard A record for
8. In the IP Address box, enter a dedicated IP address for your A record. If you do not have a dedicated IP address, you may purchase one from Netfirms from your Control Panel (Site Tools section).
9. Click Add

NOTE: Wildcards will apply to *.yourdomain.com except for www.yourdomain.com and yourdomain.com. To ensure www.yourdomain.com also resolves to the IP address entered in step #6 above, follow these steps:

10. Repeat steps #1-5 above
11
In the Enter a subdomain box, enter: www
12. From the pull-down menu, choose the domain you wish to create a wildcard A record for
13. In the IP Address box, enter a dedicated IP address for your A record. If you do not have a dedicated IP address, you may purchase one from Netfirms from your Control Panel (Site Tools section).
14. Click Add

To ensure yourdomain.com also resolves to the IP address entered in step #6 above, follow these steps to configure an .htaccess file to redirect all requests for yourdomain.com to www.yourdomain.com:

15. Using Netfirms File Manager or a text editor (eg. Notepad), create/upload a file called .htaccess containing the following similar lines of coding (replace yourdomain.com with your actual registered domain hosted at Netfirms):

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain.com
RewriteRule ^(.*)$ http://www.yourdomain.com [R=permanent,L]


How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.