Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SRV record for DNS

Status
Not open for further replies.

chriscouch

Programmer
Mar 2, 2005
2
CA
I'm working on my dns server and setting up a SRV record. However, it doesn't seem to be working as I can't connect to my website. I want it to be using port 9080 instead of 80. I am very new to this, so thanks for the help.

here is what I have... any suggestions would be appreciated.

$origin mywebsite.com.

@ SOA ( ns1.example.com. ; primary server
spam@me.net ; contact
2004112101 ; serial number
1s ; refresh
2s ; retry
1s ; expire
1s ) ; ncache ttl

mywebsite.com. A x.x.x.x
www A x.x.x.x
_http._tcp.mywebsite.com SRV 1 1 9080
any suggestions would be appriciated. thanks

Chris
 
why do you want to add a SRV record?? to record the IP of your Web server???

You dont do it this way.....

try this:

-add a Host record (A) to DNS for your web server's IP.
-in IIS, change the port it listens on for the site in question to 9080

then surf to it this way
Aftertaf

"Solutions are not the answer." - Richard Nixon
 
the reason I want to use the SRV record is I want to be able to write mywebsite.com and not have to write down mywebsite.com:9080 and I heard that SRV is the only way to do that. Unless there is another way? Thanks

Chris Couch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top