[BlueOnyx:01197] second vhost/domain 302 redirect issue

Kevin Grant kevinpgrant at yahoo.co.uk
Sun May 10 16:33:33 -05 2009


Hello folks, quick newbie question, should be a trivial answer.

Given a brand new BlueOnyx install, the server uses the hostname and FQDN provided from the setup, ok.. IIRC the server will then take the identity of the first vhost created (or the one at the top of the list in the sites config?) - so i have www.example.com lets say, and that all works fine.

now lets say i want example2.com, so I bought the domain, and pointed the registration to the authoratitave nameservers at ns1|ns2.example com ... meanwhile adding site to blueonyx server.

DNS server is enabled, the IP for example2.com is the external IP address of the server, and it responds with the appropriate answer. (seems good so far)

1) http requests receive a 302 response and get redirected to example.com - not the desired behaviour! =(
2) the 'preview site config' option should toggle enabling of  http://www.example.com/www.example2.com/ - is this correct? this doesnt work for me, even with a trailing '/' =(

I've been reading through the SSDK, and cant find the information, but I do recall seeing something on this topic somewhere (link please?) It would be silly if I could register lots of domains, host them all on my machine, yet they only return the one vhost all the time. Whats the catch?

Does the primary vhost have to use the same external ip? It is only configured with the local lan IP, yet still resolves externally (due to using external DNS servers for resolving 'example.com')

(PS if this is not the most appropriate place to ask such queries please advise where they ought to go)
Thanks in advance!

Kevin Grant | Web Developer
kevinpgrant @ yahoo [dot] co [dot] uk


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090510/25acbfd0/attachment.html>


More information about the Blueonyx mailing list