Forum Moderators: phranque

Message Too Old, No Replies

Configuring Apache 1.3.33

         

branmh

1:52 am on Sep 4, 2005 (gmt 0)

10+ Year Member



When configuring apache 1.3.33 I'm able to access the site by using 127.0.0.1 and localhost, but when I try an actual domain name and the actual ip address I get site not found.

When I use 2.0.54 it works, but I need to downgrade to 1.3.33, what I'm I doing wrong or how to configure this correctly?

JAB Creations

4:26 pm on Sep 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A firewall issue?

Trying to access your own box as a server via the internet instead of locally?

Do you have a router? If so get rid of that sucker! You should be fine with a firewall and no router but you may have to config the firewall to allow access through those ports.

mack

4:47 pm on Sep 4, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



A work around that I use for accessign servers in my network by domain name it to add an entry to my host file on my client machine (the one you want to surf on)

ip.add.ress.of.server www.example.com

This means that even although you type n a domain your system will issue a request for your servers ip address.

It's quite a complicated issue trying to get a local request to work when issuing an external address. Think of it in terms of being in your house and trying to post a letter to yourself, Or pickin up your phone and trying to call yourself. You need to be outside the network before you can issue an external address. It's tricky to explain.

The host file solution should work.

Mack.

branmh

9:32 pm on Sep 4, 2005 (gmt 0)

10+ Year Member



It was windows xp firewall, added apache 1.3.33 to it and it works.

Now how would I config a virtual host with a different port number than 80.

JAB Creations

9:18 pm on Sep 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Change this...

apache\conf\httpd.conf

Listen 80

branmh

12:58 am on Sep 7, 2005 (gmt 0)

10+ Year Member



I want port 80 for my main site but not for other items like admin scripts.

Is there away to do this?

JAB Creations

3:02 am on Sep 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not that I know but the big JD makes me look like I'm in second grade so perhaps.

I would just say...whats the point? Just put the scripts in a private url. I have a local homepage I made with my common links. You could also bookmark yours and also use password protection.

You could try limiting ONLY your IP access to certain paths or scripts perhaps but I'm not sure how you could do that even with a static IP.