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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple sites (totally newbie question)

Status
Not open for further replies.

Pedemonti

MIS
Aug 25, 2003
14
AR
Hi, all. I am running an OpenBSD box with 2 nics. I am trying to make Apache to work with 2 sites (site1.com.ar and site2.com.ar). The thing is that if I try to connect from within my network, the only way I have to see these sites is using the addresses given by DynDNS (for example: site1.dyndns.org). From outside the network, nobody can see the sites neither with site1.com.ar or site1.dyndns.org. The things I changed in my httpd.conf file are:

Listen 80
Listen 81

<VirtualHost *:80>
DocumentRoot /var/ServerName ServerAlias site1.com.ar,*.site1.com.ar
</VirtualHost>

<VirtualHost *:81>
DocumentRoot /var/ServerName ServerAlias site2.com.ar,*.site2.com.ar
</VirtualHost>

Any ideas?

Regards,
Pedemonti
 
Pedemonti,

This sounds like more of a DNS question. Do you have A (host) records set up in both domains that point to your public IP address?

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
I used 3 records for each at hn.org (2 NS and 1 CNAME):

Rec FQDN: mysite.com.ar
Rec Type: NS
Rec Values: ns1.hn.org

Rec FQDN: mysite.com.ar
Rec Type: NS
Rec Values: aux1.hn.org

Rec FQDN: Rec Type: CNAME
Rec Values: mysite.dyndns.org

Do I need any A records?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top