Discussion Locked

DNS to forward my domain name to http.

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to figure out how to forward a request for *.com to www.*.com so that when users enter the name into a web browser it will show up.

5 replies

by ryttinch

If you are using BIND to do this, it's relatively straight forward. in your database record, make the following addition (updating the serial number for the SOA):

; forward all http requests to www.xyz.com
xyz.com. IN A 1.2.3.4
; where
www.xyz.com. IN A 1.2.3.4

This will make the web server act as xyz.com. for all traffic that is sent to it.

Hope this helps,

Chad Rytting

by ds9

Hi,

It sounds to me like you are missing the Alias CNAMEs in your "db." files in the DNS Server for that Site.

It is usually standard to build the "db." files without the WWW or any FTP, then enter alias CNAMES at the end of the file for WWW and FTP, as well as any level three aliases which you may have.

Check with your ISP if he is keeping your DNS files, to insure those aliases are there.

Regards

George

This discussion is closed to new replies.