help with web server config

andrew_mccallum

Registered
Hi,

I have read all the useful past posts I could find and am still having problems getting this to work.

I have recently got an ADSL connection with a static IP, registered a domain name and set up and configured an account with zoneedit (www.zoneedit.com) to point the domain name at my static IP. I thought then it would be a matter of waiting for a few days for the DNS stuff to filter through and everything would work... but it hasn't happened that way. I can see the Apache test page when I go with localhost but not when I enter the URL or IP. I get entries in the Apache access_log with 200 codes for each attempt and I thought that was a good thing.

When I enter the URL in a browser on another system I eventually get a server not found error. When I ping the ip address it works, when I ping the domain it comes back with the correct ip, a port scan shows that port 80 is open, a traceroute hops 30 times and for the last 29 just shows * * *... but still no luck with the web stuff.

Is there something else I need to configure to get this all happening or have I done something totally wrong ?

Any help greatly appreciated.

Andrew
 
What's the IP and domain you are using?

I'll see what I can see from my end.

Might point out a problem, might not - can't hurt to try.
 
IP is 202.59.96.138 and the domain is www.nicheitsolutions.com

I just tried again and still had the same result.

I am thinking there might be some Apache config I have to do... but don't know what. I have discovered that I can set the error log to debug mode so have done that now to maybe get more clues.

Thanks for your help

Andrew
 
The problem might be that www.nicheitsolutions.com is pointing to 202.59.96.138 instead of pointing to 202.59.96.138/~yourusername/
where 'yourusername' is the name of the account you want to give access to. Don't forget the second slash, it is necessary.
There is nothing at the top level because the way OS X (and unix) works is by using useraccounts. You can easily check this by accessing 202.59.96.138/~yourusername/ from any machine.

cheers,

Paul
 
Thanks for trying it out.

I got results in the access_log and nothing of any consequence in the error_log.

I have a similar set up at work and the documents are served from the Library/WebServer/Documents directory so I don't think I need to set up users to point the DNS at.

Tigger as you were the only one who had success... how long did the page take to load ? I have left it running for what I consider quite a while before giving up.

I think I am to the point where I am going to rebuild, do a clean install and park the domain and test with the IP for a while. I've got 10.2 coming soon so I was planning a clean install anyway.

Interestingly though I don't seem to be able to connect to zoneedit at the moment. I wonder if there are problems there ?!?

Anyway thanks again everyone for testing it out. I will report back with any results.

Andrew
 
Ping 202.59.96.138: no reply
Is your machine turned off or something?

Besides that, is your machine behind a firewall in your home network? If that is the case, you should at least map port 80 to the machine with the server...

Also, check out http://www.macdevcenter.com/lpt/a/2663 for more help.

Good luck!
 
Yep the clean install is in progress.... about half way through... and I haven't hooked up the DSL connection again yet.

Thanks for the link. I will have a read through.
 
hi

i'm now able to ping your address. however, i now get the following feedback when trying to access your website:

HTTP request sent; waiting for response.

No response coming in...
 
robobok,

The install is finished now and it is connected again and I have parked the domain name. So the ping should be ok and the domain name URL should go to a parked page at zoneedit.

I am still finding that 202.59.96.138 is not returning anything HTTP related. http://127.0.0.1/ returns the Apache test page. I tried changing the port to 8080 with the same result and then to 22222 just to see if 80 and 8080 were being blocked by my ISP but still nothing. I asked before I signed up whether it was ok to run a web server/mail server etc and they said it was ok. I think I will give them a call tomorrow... but a portscan indicates that port 80 is open so it must be getting through, unless it is only one direction ?!? That is the only thing I can think of now.
 
Hi Andrew,

Everything seems to be working just fine, I can ping the address and I get a message that the site will be ready soon!
Guess the clean install did the trick?

cheers!

Paul
 
Hi Andrew,

Sorry, my respons was incorrect. I can ping the IP address but the IP address does not return anything html related. I got confused because www.nicheitsolutions returned a 'will be ready soon' page and I hadn't read your message that said that you had parked the page at zoneedit.


cheers!

Paul
 
Originally posted by andrew_mccallum

Tigger as you were the only one who had success... how long did the page take to load ? I have left it running for what I consider quite a while before giving up.
It didn't take me long at all.
I still can get to your server via the IP. Everyone else should also be able to see your server via the IP.

I think the problem with the URL is just that the DNS servers are not updated.
This often takes some days till it really works.

BTW, I am in Germany, so not even quite your area, I think.
 
I am super confused now.... well I was and now it is solved.

I took the domain right out of the equation so the IP was all I was trying to get working. I still couldn't get anything and thought maybe it was because port 80 was blocked at the ISP router or something but as Tigger could still see the Apache test page via IP that didn't seem to be the case.... and then I thought... gee I wonder if Tigger is really seeing my server as there must be heaps of Apache test pages floating around so I changed the index page and used the IP address and had success, then pointed the DNS entries to the IP and they now work too.

So I am guessing that there must have been some issue with the original index files as they were for different languages and it wasn't working out which one to use, maybe except German for Tigger ?? I dunno ?

Thanks everyone. Whooohooo now I can start working out what to put on the site.
 
Back
Top