hosting cobalt webserver at home
#1
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
hosting cobalt webserver at home
scratching my head over this one...
I can host an IIS webserver on my Win2k machine no probs, but not on my Sun Cobalt webserver
I have a fixed ip on my router. And use port forwarding to direct IP address and port to my internal machine
I can access the webserver via Telnet no probs, but not via HTTP. I have setup the correct ports on the router for port 80 but it just doesnt get through
any ideas ?
Sean
I can host an IIS webserver on my Win2k machine no probs, but not on my Sun Cobalt webserver
I have a fixed ip on my router. And use port forwarding to direct IP address and port to my internal machine
I can access the webserver via Telnet no probs, but not via HTTP. I have setup the correct ports on the router for port 80 but it just doesnt get through
any ideas ?
Sean
#5
Scooby Regular
You getting any specific errors?
The router shouldn't care what's hosting the website behind it especially if it's just plain HTTP requests. I had some probs hosting sites that redirected ports, but that was down to the app on the server.
Does it not even work with a very plain and simple html page?
Stefan
The router shouldn't care what's hosting the website behind it especially if it's just plain HTTP requests. I had some probs hosting sites that redirected ports, but that was down to the app on the server.
Does it not even work with a very plain and simple html page?
Stefan
#6
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
no its getting on my ****, i know the routing rules are fine coz i can do everything else i want like access the IIS server if i want, or access Telnet on the webserver, it must be something to do with the webserver and HTTP. Maybe something like it doesnt support NAT or something ??
#7
I would check the web server logs or security logs on you're cobalt server.
I have the same idea set up at home with a linux server. No probs at all.
Might be a security issue on you're cobalt server.
I have the same idea set up at home with a linux server. No probs at all.
Might be a security issue on you're cobalt server.
Trending Topics
#8
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
yes think your riht iain. I have rulled out connectivity issue as i can get to the same server via Telnet. When im back home i'll check the logs and look at the firewall etc
cheers
cheers
#11
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by ozzy
Can you browse to the server on your local subnet using HTTP?
Stefan
Stefan
never tried to telnet on port 80. Do you mean configure my router to forward port 80 requests to my server on 23 ??
sean
#13
Scooby Regular
Join Date: Apr 2002
Location: Birmingham
Posts: 9,196
Likes: 0
Received 0 Likes
on
0 Posts
You're not trying to access it via your external ip, but from a machine on you're local subnet are you? If your router has any kind of firewall it may well be saying no thanks.
#14
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
i'm defo trying to access from internet via another ISP. I have even disabled the firewall on the webserver temporary to rule out ant firewall issues.
the only log im getting is:
[18/Jun/2004:12:00:00 +0100] "HEAD / HTTP" 200 0 "-" "-"
mi16.205.com 212.183.131.161 - - [18/Jun/2004:12:00:36 +0100] "GET /mi16.205.com/205.htm HTTP/1.0" 302 220 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
this proves im getting to the webserver via the net, and trying to access my virtual site called <IP>/mi16.205.com, but its just not displaying any pages...
the only log im getting is:
[18/Jun/2004:12:00:00 +0100] "HEAD / HTTP" 200 0 "-" "-"
mi16.205.com 212.183.131.161 - - [18/Jun/2004:12:00:36 +0100] "GET /mi16.205.com/205.htm HTTP/1.0" 302 220 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
this proves im getting to the webserver via the net, and trying to access my virtual site called <IP>/mi16.205.com, but its just not displaying any pages...
#16
Scooby Regular
Originally Posted by rb5_336
[18/Jun/2004:12:00:00 +0100] "HEAD / HTTP" 200 0 "-" "-"
mi16.205.com 212.183.131.161 - - [18/Jun/2004:12:00:36 +0100] "GET /mi16.205.com/205.htm HTTP/1.0" 302 220 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
this proves im getting to the webserver via the net, and trying to access my virtual site called <IP>/mi16.205.com, but its just not displaying any pages...
mi16.205.com 212.183.131.161 - - [18/Jun/2004:12:00:36 +0100] "GET /mi16.205.com/205.htm HTTP/1.0" 302 220 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
this proves im getting to the webserver via the net, and trying to access my virtual site called <IP>/mi16.205.com, but its just not displaying any pages...
There are two log lines there, one is a HEAD request for "/", the next is a GET for the "/mi16.205.com/205.htm" page. Is that purely you making those? It looks like your initial HEAD sends back HTML containing a meta refresh because of the 200 OK, but a HEAD should only send headers in response.
tail -f the the access and error logs and make a request with a web browser that doesn't send HEAD requests
#17
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
Ok update here, still n progress, but ive got a concrete example
Here are 2 lines from my access file under the httpd directory
the first line is me acessing from the internet, 2nd line via the internal network. Both requesting the same page.
cobalt.home 212.183.131.161 - - [19/Jun/2004:21:34:50 +0100] "GET /test.html HTTP/1.0" 302 208 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
cobalt.home 192.168.1.10 - - [19/Jun/2004:21:35:05 +0100] "GET /test.html HTTP/1.1" 200 342 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
I dont understand why im getting a 302 error via the web when its exactly the same file ?????????????
Here are 2 lines from my access file under the httpd directory
the first line is me acessing from the internet, 2nd line via the internal network. Both requesting the same page.
cobalt.home 212.183.131.161 - - [19/Jun/2004:21:34:50 +0100] "GET /test.html HTTP/1.0" 302 208 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
cobalt.home 192.168.1.10 - - [19/Jun/2004:21:35:05 +0100] "GET /test.html HTTP/1.1" 200 342 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
I dont understand why im getting a 302 error via the web when its exactly the same file ?????????????
#18
Scooby Regular
The request from the outside sends an HTTP 1.0 request, whereas your internal one sends an HTTP 1.1. Shouldn't matter, as long as a host header was sent.
Let's see your httpd.conf, and from both the inside and outside, can you telnet to port 80 of your webserver and type:
HEAD / HTTP/1.0<return>
HOST: your.webservers.fqdn<return><return>
and paste the output.
Let's see your httpd.conf, and from both the inside and outside, can you telnet to port 80 of your webserver and type:
HEAD / HTTP/1.0<return>
HOST: your.webservers.fqdn<return><return>
and paste the output.
#22
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: Sussex
Posts: 955
Likes: 0
Received 0 Likes
on
0 Posts
when i telnet to port 80 (either via the net or internally) i just get a blank telnet session.
I have since had a tip to use a different browser. When access the site via Firefox, it actually tells it has a problem resolving the DNS address of the virtual site. So i'm trying to get DNS on my webserver to try and use its own DNS entries rather than my ISPs to resolve to the local server
I have since had a tip to use a different browser. When access the site via Firefox, it actually tells it has a problem resolving the DNS address of the virtual site. So i'm trying to get DNS on my webserver to try and use its own DNS entries rather than my ISPs to resolve to the local server
#23
Scooby Regular
Originally Posted by rb5_336
when i telnet to port 80 (either via the net or internally) i just get a blank telnet session.
Originally Posted by rb5_336
I have since had a tip to use a different browser. When access the site via Firefox, it actually tells it has a problem resolving the DNS address of the virtual site. So i'm trying to get DNS on my webserver to try and use its own DNS entries rather than my ISPs to resolve to the local server
If you were getting no DNS resolution you wouldn't be able to connect to the webserver using the name. Instead of setting up DNS, you can just add the hostnames to your hosts file.
#25
Scooby Regular
Are you telnetting to the hostname? If it can't resolve it'll sit there until DNS times out. Try the IP address, and don't forget the host: header, or mail me your httpd.conf and external IP address and I'll take a look.
Thread
Thread Starter
Forum
Replies
Last Post