Forum Moderators: phranque

Message Too Old, No Replies

Info About DNS.....please Help!

in setting up my server....

         

joar

10:20 am on Jul 7, 2005 (gmt 0)

10+ Year Member



OS:I was running in Windows 2000 Professional SP 4

I plan to set up my webserver, so I set up apache 1.33 with php 5 installed and they work fine when access using http://localhost:8080 I used port 8080 and forward it in my router.. and so do in my apache httpd.conf but when I try to access using http://mysitename.no-ip/com it gives me a "Page cannot be displayed" how come? any thing wrong with my config? *I'm using the no-ip.com's DNS program to make it work but nothing happens...could anyone share their configurations please? i'm getting stuck in this thingy

I used also mysql 4.1.x for my site's database.

[edited by: jdMorgan at 2:23 am (utc) on July 11, 2005]
[edit reason] Obscured specifics per TOS. [/edit]

ChadSEO

3:38 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



How are you forwarding things in your router? Do you forward port 80 on the router to port 8080 on your web server? Or do you forward port 8080 on your router to port 8080 on your web server? If it's the latter, then you'll need to browse to [mysite.example.com:8080...] for it to work.

ivo2296

4:23 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



Why don't you use latest version of Apache?!?

joar

6:30 am on Jul 8, 2005 (gmt 0)

10+ Year Member



I use it before but when I ask for help here nothing, heeded my request so I switch back to Apache 1.33 I was using Apache 2.0.54 before. I have mcafee firewall installed. Now I forward the port 6800 for my new site. and so do with my Webserver, I put there :
---------------------------------------------------
# Port: The port to which the standalone server listens. Certain firewall
# products must be configured before Apache can listen to a specific port.
# Other running httpd servers will also interfere with this port. Disable
# all firewall, security, and other services if you encounter problems.
# To help diagnose problems use the Windows NT command NETSTAT -a
#
Port 6800
----------------------------------------------------
Then I forward 6800 to my router too. but still it didn't work...do I need to use .htaccess file for this one?

ChadSEO

2:17 pm on Jul 8, 2005 (gmt 0)

10+ Year Member



The version of Apache you are using really will have no impact what your problem. Let me make sure I have this correct:
1) Apache is configured to run on port 6800.
2) You have configured your router to forward port 6800 to your web server.

If this is correct, then:
1) Is your McAfee firewall setup to allow traffic on port 6800?
2) Do you have any other computers inside your firewall, so you could try going to like [192.168.1.2:6800...] or whatever your internal IP address is?
3) Make sure you are trying to connect to [myexamplesite.example.com:6800...] with the :6800 being the really important part.

joar

5:52 am on Jul 9, 2005 (gmt 0)

10+ Year Member



I can do http://localhost:6800/mydir/ but when I try http://mysitename.no-ip.info it say's Page cannot be displayed? I have my mcafee firewall forward the 6800 port too.

[edited by: jdMorgan at 2:22 am (utc) on July 11, 2005]
[edit reason] De-linked [/edit]

ChadSEO

2:43 pm on Jul 11, 2005 (gmt 0)

10+ Year Member



When you are trying to access your site from outside, are you trying to browse to [mysite.tld...] or [mysite.tld:6800...]

Romeo

3:53 pm on Jul 11, 2005 (gmt 0)

10+ Year Member



If you can see your pages when calling "localhost", then you are doing everything on your one-and-only box: running both the httpd-server and the client web browser. Do I see this correctly?

You usually can't send from the inside of your private network to your real world IP address of mysite.no-ip.com (= your ISP's IP address for your link) assigned to your router's outside interface. Either your own router or at least your provider's router would get confused about what to do with packets that come in or are addressed to the 'wrong' interface side of their defined routing rules.

Try to put a "127.0.0.1 mysite.no-ip.com" into your local hosts file. This should eventually work and will route your client/server traffic to be kept within your local box for testing.

Be sure to configure the Apache to listen on all interfaces, the network interface as well as localhost.

You then need to open up your router (port and address translation rule to map requests from the outside to get routed to your private inside address) and your server firewall to be accessible from the outside world.

Regards,
R.