sdale
asked on
Virtual Web Servers in Apache
I am running Linux kernel 2.0.12 and Apache 1.2 (I think the most current...) and I am trying to do virtual web hosting. I have IP Aliasing built into my kernel, I have the DNS set up correctly, and I have this line in my /etc/rc.d/rc.inet1:
/sbin/ifconfig eth0 alias www.domain.com
The first problem is that when I boot I am getting a syntax error on ifconfig. The second problem is that nothing else about this works either... ;)
/sbin/ifconfig eth0 alias www.domain.com
The first problem is that when I boot I am getting a syntax error on ifconfig. The second problem is that nothing else about this works either... ;)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.