[BlueOnyx:06649] Re: Multiple Sites to IP Address

Steffan general at ziggo.nl
Fri Mar 11 02:29:42 -05 2011


What i Always do is create a siteconf in /etc/httpd/conf.d
You can copy a site from /etc/httpd/conf/vhosts/sitexx to
/etc/httpd/conf.d/a_first_site.conf
I then change the names in the servername point the web directory to
somewhere on the server say
/home/sites/servername
Create the directory and /web directory, put a standard index.html page say
server xx im alive

Reload httpd and the ip will go to this First site

Steffan

-----Oorspronkelijk bericht-----
Van: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
Namens Ken - Precision Web Hosting, Inc
Verzonden: vrijdag 11 maart 2011 8:00
Aan: BlueOnyx General Mailing List
Onderwerp: [BlueOnyx:06648] Re: Multiple Sites to IP Address


----- Original Message ----- 
From: "Abdul Rashid Abdullah" <webmaster at muntada.com>
To: "BlueOnyx" <blueonyx at blueonyx.it>
Sent: Thursday, March 10, 2011 6:36 PM
Subject: [BlueOnyx:06645] Multiple Sites to IP Address


> As everyone knows, you can have multiple sites for an IP address when SSL 
> is
> not needed.  However, there is a side effect.  I had a customer who put in
> mail.siteb.com and since there wasn't a web alias in the configuration, 
> but
> another site, it resolved to www.sitea.com, because when it resolved the 
> IP,
> that site was the IP address that was I guess the first site.
>
> Of course, now he is upset because he has no affiliation with 
> www.sitea.com.
>
> In IIS, I can force host header resolution to the point where IP 
> resolution
> won't work.  In other words, http://www.sitea.com will work but not
> http://10.10.10.10.
>
> How could we accomplish the same thing with BlueOnyx?
>
> What I had to do in the mean time, was add all of the A records to the web
> aliases, but my thought is if he types in the IP address, he will get 
> upset.
> Of course, I could just simply give him his own IP address and I might 
> have
> to do that for this customer, but what about other customers?
>
> Regards,
>
> Rashid
>
>

Rashid


You could add mail.siteb.com  as a "web server alias" for the www.siteb.com 
site.

I do that with my site and my customer's sites.
E.g.
http://mail.precisionweb.net


----
Ken M
Precision Web Hosting, Inc.
http://www.precisionweb.net



_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list