 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

23rd August 2012, 08:39 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
I've an apache configuration question
Or so I think I do ...
Time was that I could get to my MoinMoin wiki from anywhere, your house, my house, anywhere, simply by typing http://glennzos.wickeduseless.wiki. Now with a new modem from Comcast this doesn't work if I'm sitting at home, as I am now. In order to access my wiki from home I need to use the ip address of the server, http://10.x.x.x/mywiki. That is not a problem except for the fact that at the bottom of most of the wiki pages I have a link to return to the home page. That link uses the sample URL above. How do I make this URL work for me while here at home? Can I alias it in the httpd.conf file so that it works regardless of whether I'm at home or somwhere else?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

23rd August 2012, 06:57 PM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 5

|
|
|
Re: I've an apache configuration question
Does your wiki server use DHCP?
If so it is probable that your old modem/router supported DDNS (Dynamic DNS) and captured the hostname of the wiki server.
The new modem may not support, or may need setting up to support DDNS. Then it would resolve glennzos.wickeduseless.wiki to its local IP.
John
|

23rd August 2012, 08:11 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
Re: I've an apache configuration question
Quote:
Originally Posted by williamsj
Does your wiki server use DHCP?
|
No.
Quote:
Originally Posted by williamsj
If so it is probable that your old modem/router supported DDNS (Dynamic DNS) and captured the hostname of the wiki server.
|
It did.
Quote:
Originally Posted by williamsj
The new modem may not support, or may need setting up to support DDNS. Then it would resolve glennzos.wickeduseless.wiki to its local IP.
John
|
I don't think the new modem is capable, unless I misread.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

23rd August 2012, 08:18 PM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 640

|
|
|
Re: I've an apache configuration question
How do you resolve the url name? Do you have a static external IP and a DNS server, or dynamic DNS, or some local network DNS resolution? You can add a hosts file entry for the url on the machines you use to access your wiki from your LAN, but that won't help external users.
If your new comcast modem was due to some service upgrade on your internet connection maybe your ISP also decided to block http to prevent you from running an external web server on your connection. Many residential ISP do this.
__________________
======
Doug G
======
|

23rd August 2012, 09:11 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
Re: I've an apache configuration question
Quote:
Originally Posted by Doug G
How do you resolve the url name? Do you have a static external IP and a DNS server, or dynamic DNS, or some local network DNS resolution? You can add a hosts file entry for the url on the machines you use to access your wiki from your LAN, but that won't help external users.
If your new comcast modem was due to some service upgrade on your internet connection maybe your ISP also decided to block http to prevent you from running an external web server on your connection. Many residential ISP do this.
|
No static external IP address, but it seems to never change. I've had an account with dyndns.org for a few years now. dyndns sends the request to my external IP. Then it is forwarded through the router to the local IP address. This was with the old modem and router. Now the modem/router are one so I'm not using my old router. HTTP is not blocked by Comcast. Apparently they don't bother you if you have a low traffic web site such as mine.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

23rd August 2012, 10:55 PM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 640

|
|
|
Re: I've an apache configuration question
If you have a dyndns account as far as I know you need an agent program at your site. Some routers have dyndns functionality so you set up dyndns in the router, otherwise I believe you need to install a program on one of your computers to do the dns updating.
Did you set up port forwarding in the new router? You need to direct http traffic to the appropriate internal LAN IP.
Also, be aware some routers don't support "loop-around" network access, i.e., from inside your LAN you may not be able to use an external IP address to get back into your LAN. If that's the problem simply set up a hosts entry for the domain url using the LAN ip of the web server. That way your apache vhost will see a domain name (rather that http://10.x.x.x) and will work properly.
__________________
======
Doug G
======
|

23rd August 2012, 11:59 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
Re: I've an apache configuration question
Quote:
Originally Posted by Doug G
If you have a dyndns account as far as I know you need an agent program at your site. Some routers have dyndns functionality so you set up dyndns in the router, otherwise I believe you need to install a program on one of your computers to do the dns updating.
|
Thanks for the reminder. There is a program that I was using to update my public IP to dyndns but I stopped using it because the router handled that.
Quote:
Originally Posted by Doug G
Did you set up port forwarding in the new router? You need to direct http traffic to the appropriate internal LAN IP.
|
Yes.
Quote:
Originally Posted by Doug G
Also, be aware some routers don't support "loop-around" network access, i.e., from inside your LAN you may not be able to use an external IP address to get back into your LAN. If that's the problem simply set up a hosts entry for the domain url using the LAN ip of the web server. That way your apache vhost will see a domain name (rather that http://10.x.x.x) and will work properly.
|
I believe that this is the way the new router works based on what I've read on the 'net.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th August 2012, 04:59 AM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 640

|
|
|
Re: I've an apache configuration question
So is it working now? I hope so, I don't use dyndns and I'm running low on ideas
__________________
======
Doug G
======
|

24th August 2012, 07:26 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
Re: I've an apache configuration question
Nothing has changed yet.
Quote:
|
simply set up a hosts entry for the domain url using the LAN ip of the web server
|
How do I do this?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th August 2012, 08:25 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 5

|
|
|
Re: I've an apache configuration question
Quote:
Originally Posted by glennzo
Nothing has changed yet. How do I do this?
|
Assuming a Windows client:
Edit the file (or create it) C:\Windows\System32\drivers\etc\hosts
Add a line which reads:
<LAN IP of your web server> glennzos.wickeduseless.wiki
This means that your PC will always go to the local address.
If it is a laptop of course it will do the same when you are out of the house, so then you would need to comment it out like so:
# <LAN IP of your web server> glennzos.wickeduseless.wiki
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 18:29 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|