Trouble accessing websites outside local network
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2018
    Location
    Melbourne
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trouble accessing websites outside local network

    I run two domains and several subdomains through Apache on Fedora and they were all working previously from the outside, but now they're timing out. They work ok in the local network, though.

    If I use my IP address from outside I can load my default website but if I try to use domain names it doesn't work. The IP address will load the default site with http or https, but nothing with a domain name.

    In DNS settings with the company I bought the domain names through I have the domains and subdomains all pointing to my IP address.

    All the domain names redirect to https and have SSL certificates. They redirect in vhost.conf like this:

    RewriteEngine on
    RewriteCond %{SERVER_NAME} =www.mydomain.com [OR]
    RewriteCond %{SERVER_NAME} =mydomain.com
    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

    My firewall has DMZ to port 80 and everything port forwards to 10.1.1.6, my fedora box. Like I said, I can get the domains to work locally but not from outside, but the IP address works from outside.

    In vhost-le-ssl.conf I have the usual stuff, as well as:

    Include /etc/letsencrypt/options-ssl-apache.conf
    SSLCertificateFile /etc/letsencrypt/live/www.mydomain.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/www.mydomain.com/privkey.pem

    So I'm not sure what's happening. Could this be a fedora firewall issue? Any help appreciated.

  2. #2
    Join Date
    Apr 2009
    Location
    central NY, USA
    Posts
    1,284
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble accessing websites outside local network

    I run two domains and several subdomains through Apache on Fedora and they were all working previously from the outside, but now they're timing out.
    Your issue is DNS - exactly what did you change since 'they were all working previously'?
    Change - the only constant.

  3. #3
    Join Date
    Jul 2018
    Location
    Melbourne
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble accessing websites outside local network

    Haha I am a bit dull lately... I changed my hosts file. The laptop I'm trying to access the websites through on an outside network is redirecting them to local IPs i.e. 10.1.1.6. So that's what was wrong. Thanks for responding.

Similar Threads

  1. Trouble visiting some websites
    By Barbaroti in forum Using Fedora
    Replies: 2
    Last Post: 19th February 2013, 08:09 PM
  2. Loading local websites takes for ever
    By jdc18 in forum Servers & Networking
    Replies: 1
    Last Post: 14th September 2010, 09:41 PM
  3. trouble finding some websites in FC 5
    By knot2afrayed in forum Servers & Networking
    Replies: 11
    Last Post: 18th September 2006, 01:09 AM
  4. Replies: 0
    Last Post: 1st June 2005, 12:54 AM
  5. Accessing a local area network
    By kumarannair in forum Servers & Networking
    Replies: 7
    Last Post: 4th December 2004, 02:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •