Koozali.org: home of the SME Server

virtual host not working

Arjay

virtual host not working
« on: August 28, 2003, 11:19:39 PM »
i have this domain (arjay.com.ph) which i point to cs2.homelinux.com. then in my sme 5.6 box, i put arjay.com.ph as a virtual host and pointing it to cs2.homelinux.com/cheryl

the problem starts when i check it using www.megaproxy.com to see if its working, but i found out that, yes, arjay.com.ph is point to cs2.homelinux.com but the problem is that my sme5.6 box is not point it to its ibay named "cheryl"

whats will i do with this?

Scott

Re: virtual host not working
« Reply #1 on: August 31, 2003, 01:32:54 AM »
Arjay wrote:
>
> i have this domain (arjay.com.ph) which i point to
> cs2.homelinux.com. then in my sme 5.6 box, i put arjay.com.ph
> as a virtual host and pointing it to cs2.homelinux.com/cheryl
>
> the problem starts when i check it using www.megaproxy.com to
> see if its working, but i found out that, yes, arjay.com.ph
> is point to cs2.homelinux.com but the problem is that my
> sme5.6 box is not point it to its ibay named "cheryl"
>
> whats will i do with this?

In the server-manager
click on the virtual domain link.
then click on the modify link for
arjay.com.ph. Now click on the
drop down button for the content
box and choose the ibay for
cs2.homelinux.com/cheryl then
click the modify button.

Note that the cs2.homelinux.com/cheryl
needs to be in existance before it
will show up in the content drop down
box. If you have not done so create
the ibay first.

If you get a server not accesible
security error, you need to click
on the ibay link in server-manager.
click on the modify link for the
ibay in question. and go down
to the public access box.
Click the dropdown arrow and
choose the:
Entire Internet(no password required)
option. Then click the save button.

The ibay should now be accessible
to the internet via the virtual host.

Have fun and enjoy.

Arjay

Re: virtual host not working
« Reply #2 on: September 06, 2003, 07:18:05 AM »
i know how to make a vhost and done everything youve said before even going here. but the problem is that it still is not working :(

Scott

Re: virtual host not working
« Reply #3 on: September 08, 2003, 03:14:18 AM »
Arjay wrote:
>
>i know how to make a vhost and done everything
>youve said before even going
>here. but the problem is that it still is not
>working :(

I decided to reread your original post to
see if I missed something when I originaly
read it.

This is what I found.

> i have this domain (arjay.com.ph) which i point to
> cs2.homelinux.com. then in my sme 5.6 box, i put arjay.com.ph
> as a virtual host and pointing it to cs2.homelinux.com/cheryl

So I'm going to draw a pointer list to see if
I am understanding you correctly.

When

The domain arjay.com.ph  points to or is forwarded to
the domain cs2.homelinux.com
On your sme56 box your also have:
The domain arjay.com.ph pointing to
the domain cs2.homelinux.com/cheryl

Yep, I misunderstood the problem.

Pointing my browser to arjay.com.ph I am forwarded to
http://www.counterstrike-cafe.ph/ which is a directory
listing with a PostNuke-0.726.tar.gz file.

Pointing my browser to cs2.homelinux.com I get a directory
listing which has a PostNuke-0.726.tar.gz file
Pointing my browser to cs2.homelinux.com/cheryl I get a
different directory listing with no files.

Unless your sme5.6 is set up as a public domain all you
need to do is forward the domain through dns. You don't
need to do this on the sme server as it gets the dns entries
from the internet and as long as the dns is set correctly,
the domain will forward. My results in going to the two
domains indicates that the public dns setting is pointing
to the wrong domain and so it is not working correctly.

Doing a dns check at http://www.checkdns.net/ on
arjay.com.ph the follwoing warning is provided:

  NS list mismatch: registration authority reports that domain is hosted on following servers: 'ns5.zoneedit.com; ns14.zoneedit.com', but DNS server ns5.zoneedit.com reports domain to be hosted on 'cs2.homelinux.com; ns5.zoneedit.com; ns14.zoneedit.com'. Please make sure that you configure the same DNS servers in registrar database and on your DNS server.

So I suggest remove the virtual domain from off the sme box and go
to your dns provider and look for the cname pointer that is pointing to
http://www.counterstrike-cafe.ph/ and delete it.
This should then fix the problem. As far as the sme is running,
if you have a vhost on it, it will resolve to the vhost on the machine
as opposed to the dns forward in your public dns records.

So now the big question, did I understand you correctly ths time?
If not, please correct my misunderstanding.

Scott.