Re: [CentOS] - multiple virtual host on httpd

2013-10-22 Thread John Doe
From: Paolo De Michele pa...@paolodemichele.it

 how I do to set a mutiple virtual host on httpd configuration?
 I need to host multiple sites with the same IP address
 what must be the httpd.conf configuration file and into /etc/httpd/conf.d/?

Google says:
http://httpd.apache.org/docs/current/vhosts/examples.html

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-21 Thread Paolo De Michele

On 10/21/2013 02:08 AM, Reindl Harald wrote:
 Am 21.10.2013 01:44, schrieb Paolo De Michele:
 On 10/21/2013 12:46 AM, Reindl Harald wrote:
 Am 21.10.2013 00:42, schrieb Paolo De Michele:
 how I do to set a mutiple virtual host on httpd configuration?
 I need to host multiple sites with the same IP address

 what must be the httpd.conf configuration file and into /etc/httpd/conf.d/?
 RTFM
 http://httpd.apache.org/docs/2.2/vhosts/name-based.html


 I ask for help if it's because I need it
 and what is this?

 http://httpd.apache.org/docs/2.2/vhosts/name-based.html

 VirtualHost *:80
 ServerName www.domain.tld
 ServerAlias domain.tld *.domain.tld
 DocumentRoot /www/domain
 /VirtualHost

if I comment the line:

#  Directory /opt/observium/html/
#   AllowOverride All
#   Options FollowSymLinks MultiViews
#  /Directory

I only see the homepage of the site and if I create another virutalhost 
with the same form previously used the new site do not see anything

why?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-21 Thread Kai Schaetzl
do not see anything is not a problem description that gives any 
information to someone who wants to help you.
If you do not know if you can reach the correct website then place a 
simple index.htm in the root that makes it identifable. Then access this 
file. If you can view it then the httpd setup is probably correct and 
there's something else wrong (e.g. look in the server logs for internal 
server error or what not).

Don't forget to restart httpd after each change.
You should rather ask for help on a forum dedicated to httpd. We can't ask 
and answer everything here.

Kai


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-20 Thread John R Pierce
On 10/20/2013 3:42 PM, Paolo De Michele wrote:
 how I do to set a mutiple virtual host on httpd configuration?
 I need to host multiple sites with the same IP address

 what must be the httpd.conf configuration file and into/etc/httpd/conf.d/?

all changes should be put in a file, sitename.conf in the conf.d 
directory, no changs to httpd.conf are needed at all.   you can use one 
.conf file for all your virtual hosts, or one per host, its strictly 
your preference.

the specific settings for virtualhosts are detailed in most any 
documentation on the apache httpd web server.

for instance,
http://httpd.apache.org/docs/2.4/vhosts/

-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-20 Thread Paolo De Michele

On 10/21/2013 12:46 AM, Reindl Harald wrote:

 Am 21.10.2013 00:42, schrieb Paolo De Michele:
 how I do to set a mutiple virtual host on httpd configuration?
 I need to host multiple sites with the same IP address

 what must be the httpd.conf configuration file and into /etc/httpd/conf.d/?
 RTFM
 http://httpd.apache.org/docs/2.2/vhosts/name-based.html


I ask for help if it's because I need it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-20 Thread Frank Cox
On Mon, 21 Oct 2013 01:44:06 +0200
Paolo De Michele wrote:

 I ask for help if it's because I need it.

Just follow the example on that webpage (highlighted section in light
blue-gray background). Substitute the actual name that you want to use for where
it says domain.tld, and that's all there is to it.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos