You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by George Walsh <gj...@netscape.net> on 2003/04/03 20:13:47 UTC

Re: [users@httpd] Virtual Hosts; document root as seen from alocal user account and from the internet


Hi, Lee, and thanks for your suggestion.

Actually, I Had already tried nslookup and ran a host -a on that doamin as well when I had earlier configured sendmail.

For the record, nslookup -sil www.cruiseroutes.com reports:

Server:   192.168.1.10
Address:  192.168.1.10#53

Name:     www.cruiseroutes.com
Address:  192.168.1.11

All of that is correct, yet if you try www.cruiseroutes.com you will be taken to the ADVX index page which only exists in the main (default) server's directory at /var/www/html. It does get the name right on that page, as i mentioned, but it has 'no business' being in that directory. 

Obviously there is a different path being followed between inside and outside calls but I don't know how to follow that along in a logical way.

Regards,

"George"


-- 
George Walsh,
Managing Director,
CruiseRoutes Division,
DSC Directional Services Corp
Courtenay, British Columbia, Canada


__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Virtual Hosts; document root as seen from alocal user account and from the internet

Posted by Jack Lauman <jl...@nwcascades.com>.
George:

This is what I get when I run dig against your name...
You must have DNS a configuration error.

Jack


; <<>> DiG 9.2.1 <<>> www.cruiseroutes.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37976
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;www.cruiseroutes.com.		IN	A

;; ANSWER SECTION:
www.cruiseroutes.com.	86334	IN	A	64.180.134.136

;; AUTHORITY SECTION:
cruiseroutes.com.	86334	IN	NS	clgrps02.telus.net.
cruiseroutes.com.	86334	IN	NS	clgrps01.telus.net.

;; ADDITIONAL SECTION:
clgrps01.telus.net.	3534	IN	A	198.80.55.1
clgrps02.telus.net.	3534	IN	A	198.161.156.1

;; Query time: 1 msec
;; SERVER: 216.161.242.50#53(216.161.242.50)
;; WHEN: Thu Apr  3 11:45:20 2003
;; MSG SIZE  rcvd: 141



George Walsh wrote:
> 
> Hi, Lee, and thanks for your suggestion.
> 
> Actually, I Had already tried nslookup and ran a host -a on that doamin as well when I had earlier configured sendmail.
> 
> For the record, nslookup -sil www.cruiseroutes.com reports:
> 
> Server:   192.168.1.10
> Address:  192.168.1.10#53
> 
> Name:     www.cruiseroutes.com
> Address:  192.168.1.11
> 
> All of that is correct, yet if you try www.cruiseroutes.com you will be taken to the ADVX index page which only exists in the main (default) server's directory at /var/www/html. It does get the name right on that page, as i mentioned, but it has 'no business' being in that directory.
> 
> Obviously there is a different path being followed between inside and outside calls but I don't know how to follow that along in a logical way.
> 
> Regards,
> 
> "George"
> 
> --
> George Walsh,
> Managing Director,
> CruiseRoutes Division,
> DSC Directional Services Corp
> Courtenay, British Columbia, Canada
> 
> __________________________________________________________________
> Try AOL and get 1045 hours FREE for 45 days!
> http://free.aol.com/tryaolfree/index.adp?375380
> 
> Get AOL Instant Messenger 5.1 for FREE! Download Now!
> http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Virtual Hosts; document root as seen from alocal user account and from the internet

Posted by Lee Fellows <lf...@4lane.com>.
On Thu, 2003-04-03 at 13:13, George Walsh wrote:

> For the record, nslookup -sil www.cruiseroutes.com reports:
> 
> Server:   192.168.1.10
> Address:  192.168.1.10#53
> 
> Name:     www.cruiseroutes.com
> Address:  192.168.1.11
> 
> All of that is correct, yet if you try www.cruiseroutes.com you will be taken 
> to the ADVX index page which only exists in the main (default) server's 
> directory at /var/www/html. It does get the name right on that page, as i
>  mentioned, but it has 'no business' being in that directory. 
> 
> Obviously there is a different path being followed between inside and outside
>  calls but I don't know how to follow that along in a logical way.
> 
  Is 192.168.1.11 also the IP of the 'default' server?

  I am going to guess it is.  What are you using for a web browser?
  What happens if you telnet to 192.168.1.11 port 80 and issue this:
  'GET / HTTP/1.1\n
   HOST: www.cruiseroutes.com\n\n'.








-- 
Lee Fellows <lf...@4lane.com>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org