Koozali.org: home of the SME Server

Virtual Hosts not connecting

Guck Puppy

Re: Virtual Hosts not connecting
« Reply #15 on: August 27, 2003, 04:14:57 AM »
If only I'd known before you signed up for a year... still, for anyone else considering following suit, speakeasy offer 1.5mb down, 768kb up for $89.95 / month. Providing you're close enough, in the right place, etc. etc. This is very nice indeed for hosting.

http://www.speakeasy.net/refer/206491

Cheers,

G

PS. disclosure - the link is a kickback link.

Dan Brown

Re: Virtual Hosts not connecting
« Reply #16 on: August 27, 2003, 04:30:43 AM »
...and, unlike many other ISPs, they don't have a problem with giving static IPs, customers running servers, etc.  If only I could get better than IDSL here...

Scott

Re: Virtual Hosts not connecting
« Reply #17 on: August 28, 2003, 07:23:14 AM »
G Wrote:

>>>http://www.speakeasy.net/refer/206491

Thanks for the info, I will keep this on
hand. You never know when a second
isp will be needed and if my plans
go right, I will be needing a second
isp. At that time, I would use speakeasy
as the primary and sbc as the
backup giving me a redundant connection
and insuring uptime.

If I get to that point though, I think I would
want the primary to be a t1.

Thanks for the info.

Scott

Alex

Re: Virtual Hosts not connecting
« Reply #18 on: September 01, 2003, 04:06:26 AM »
same prob.

iam using a sme 5.6 for failover. connected 8 domains.
the hosts names provided by another dns are www2.xxxx.xx.

the e-smith configuration dont writes a in the virtual host entry the name
www2 in httpd.conf
 
(modify only the template files)

you can edit the file /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/03ServerAlias

from

ServerAlias {$virtualHost}

to

ServerAlias {$virtualHost}
ServerAlias whatyouwant{$virtualHost}

resulting if you add the new domain "newdomain.com"

the following virtualHosts where being written:

www.newdomain.com # default by servername, no touched thru 03ServerAlias
newdomain.com # by the first entry
whatyouwant.newdomain.com # the 2nd entry

the dns settings (by e-smith - hostnames and adresses) must being set.

Scott

Re: Virtual Hosts not connecting
« Reply #19 on: September 04, 2003, 03:15:05 AM »
ScottAlex wrote:
>
> same prob.
>
> iam using a sme 5.6 for failover. connected 8 domains.
> the hosts names provided by another dns are www2.xxxx.xx.
>
> the e-smith configuration dont writes a in the virtual host
> entry the name
> www2 in httpd.conf

What I'm understanding is that you want a domain
with the host www2. Thus you would have a site
at www2.yourdomain.com

To set this up, login to server-manager,
Then in the Hostnames and Addresses
panel click create a new host.

Your new host will be www2 or whateveryouwant.
Click the domain you wish to assign the host
to in the domain dropdown box and click next
then finish. This will give you a hostname of
www2.yourdomain.com on that domain.
Repeat for each domain you want a www2 host
for.

Once you have this set, things should work, but
you will need to make sure dns is set up pointing
to www2.yourdomain.com with your ip address.

I think this will resolve your problem.