Sites using 1 IP have problem with www - How to?

Hi I'm having problems with my sites using one same IP and using www with the address.

Here's the situation, let's say I have:

site1.com (63.246.133.250)
site2.com (63.246.133.250)
site3.com (63.246.133.250)

I have no problem setting up BIND, Name Alias, etc.

When I type in the browser:

http://site1.com
http://site2.com
http://site3.com

the address points to the individual sites just fine.

But when I type in the address with the www:

http://www.site1.com
http://www.site2.com
http://www.site3.com

the address points to the first site available on that IP address, which is http://www.site1.com:

http://www.site1.com >http://www.site1.com
http://www.site2.com >http://www.site1.com
http://www.site3.com >http://www.site1.com

Does anyone know how to fix this? Is there something I'm missing when doing BIND?

*I'm using webmin 1.080 on Linux 9.0

 

 

 

 

Top