multiple domains


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers multiple domains
# 1  
Old 06-04-2002
multiple domains

Hello,
I have 3 domains virtually hosted "name based" the first one "domain1.com" has its ServerName entered as domain1.com. this domain will load in a browser by www.domain1.com or simply domain1.com. the next two domains "domain2.com" and "domain3.com" ServerNames are listed as domain2.com and domain3.com. when you enter in a browser domain2.com or domain3.com the correct site loads, but when you enter www.domain2.com or www.domain3.com the domain1.com site is loaded.

What is causing this problem?

Thanks

Last edited by ericg; 06-04-2002 at 04:20 PM..
# 2  
Old 06-04-2002
Could be one of many things.

Check DNS - insure www.domain2.com is the IP you believe it to be - insure the PTR is correct. Do this for the other domain also.

What HTTP server are you running?
It could be a configuration error - if Apache, try this link - lots of good info on Virtual Hosts

Post back with more info.
thehoghunter
# 3  
Old 06-04-2002
Thanks for the help.

I checked the DNS and PTR they are ok. After looking through www.apache.org again i found a referance to "ServerAlias" which allows you to add the optional names for a virtual host.
THANKS
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bind: Can you configure multiple domains using the same nameserver

Can you add multiple domains to a nameserver without creating a new IP address? I have one IP address on my machine and have configured forward and reverse zone files. Names are resolving fine. I know I can add another domain to the named.conf file and create new forward and reverse files. what... (2 Replies)
Discussion started by: LinuxGirl
2 Replies

2. Red Hat

Sendmail - Masquerading multiple domains with different addresses

Hello Friends, I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

3. UNIX for Dummies Questions & Answers

Samba with clients in multiple domains

Dear all, I've not a good starting point I'm afraid, but I was forced to deploy Samba under pressure of failing hardware so an urgent migration was done. We didn't get the IBM AIX 6.1 supplied one running at all, so we pulled down the samba.org version 3.4.3. We couldn't get that working as... (0 Replies)
Discussion started by: rbatte1
0 Replies

4. Shell Programming and Scripting

Script to run php script on multiple website domains

Good Day, I have multiple websites on a domain. I am looking for a loop structure that can run each site script. egdomain1/test.php domainx/test.php so on, currently I copy and paste a list of commands but that skips certain commands. Some help would be greatly appreciated. Sergio (3 Replies)
Discussion started by: SergioP
3 Replies

5. UNIX for Advanced & Expert Users

Samba in multiple domains problem

Hello all. I'm hoping you can help with a problem I'm having with Samba. I have Samba running on a Solaris host. All of my users authenticate against the same domain, but some of my users are using PCs on a different domain. When the users whose PCs are on a different domain try to connect to... (0 Replies)
Discussion started by: trouphaz
0 Replies

6. Solaris

Kerberos setup for multiple AD domains

Hi there: I am currently using Kerberos on Solaris 9 to autenticate using windows active directory. It is working fine, however, we just were made aware that instead of one domain, we have multiple. We configured one real with only one domain, however, I need the autentication process to also... (3 Replies)
Discussion started by: ramosl05
3 Replies

7. UNIX for Dummies Questions & Answers

Multiple Domains with BIND

I need help creating multiple domains with one single DNS server.ex: domain1.com and domain2.com on a sigle machine 1.2.3.4 Thx (1 Reply)
Discussion started by: lekan
1 Replies

8. UNIX for Dummies Questions & Answers

creating domains

ok i am setting up dns or going to do it with solaris 9 once u setup the domain what file can u look @ to see if it setup or not (4 Replies)
Discussion started by: rmuhammad
4 Replies
Login or Register to Ask a Question