RE: Newbie question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No need for reverse proxying. No need for linking. No need for
sub-domain. No need for additional IP addresses.

1. Have whoever manages your domain ewd.net create a DNS CNAME record
	app.ewd.net IN CNAME www.ewd.net

2. Read up on name-based virtual hosting at
http://httpd.apache.org/docs/2.2/vhosts/name-based.html

3. Change you Apache server configuration so it uses Named Virtual Hosts
for the two sites.

NameVirtualHost *:80
Listen *:80

<VirtualHost *:80>
	ServerName www.ewd.net

	DocumentRoot /www/wwwewd
...

</VirtualHost>


<VirtualHost *:80>
	ServerName app.ewd.net

	DocumentRoot /www/appewd
...

</VirtualHost>


If you do not want to use name-based virtual hosting but prefer IP-based
VH, then you will need an additional IP address with an associated DNS
A-record.

-ascs

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux