httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Bager" <l...@sur-mokka.dk>
Subject SV: [users@httpd] binding domain to IP
Date Thu, 08 Jan 2004 14:54:09 GMT


-----Oprindelig meddelelse-----
Fra: Payal Rathod [mailto:payal-apa@staticky.com] 
Sendt: 8. januar 2004 15:31
Til: users@httpd.apache.org
Emne: [users@httpd] binding domain to IP

Hi,
I am trying virtual domains under apache on test machine. If I have 3
domains on ip 192.168.0.1, how can I have such that when I type
http://192.168.0.1 in browser, domain3-local.com should be seen?
I am using httpd2. If this is not possible I can have another IP alias
to the same nic, say 192.168.0.2 - just for domain3-local.com

Can someone give some hints?

> Hi 
> I have several domains to one ip.
> 
> With this in httpd.conf
>
> <VirtualHost 0.0.0.0:80>
>    ServerName www.domain4-local.com
>    ServerAlias domain4-local.com

>    DocumentRoot         /var/htdocs/domain4/html
>    ScriptAlias /cgi-bin /var/htdocs/domain4/cgi-bin
>    Alias       /files   /var/htdocs/domain4/files
>
>   Alias /icons/ /var/www/icons/

>	ErrorLog logs/error_log
>	LogLevel emerg
>	TransferLog logs/access_log

> </VirtualHost>
>
> Hope it helps
> 
> 
With warm regards,
-Payal

-- 
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message