Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8614293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:05:18+00:00 2026-06-12T05:05:18+00:00

I just set up a server in my house using private IP. I can

  • 0

I just set up a server in my house using private IP.

I can access my server using my domain from outside network/ outside from my house.

But I cannot access it from local network using my domain or my private IP address.

What can be the problem for this? is it the Apache settings?

(I can access it if I edit the /etc/hosts file)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:05:19+00:00Added an answer on June 12, 2026 at 5:05 am

    Did you use the internal or external IP in your hosts file to get it working? If it was external IP it’s probably the DNS issue. If it was the internal IP, the issue could be in the routers NAT.

    Some routers/setups will only apply their NAT rules on packets traversing the external internet facing interface.

                     ____________        
                    |            |       
    Server ---IntIf-|IntIP--ExtIP|-ExtIf--- Internet
                    |____________|       
    

    This is a bit simplified but basically when you access the external IP from the internal network the packet, following the dotted line, reaches the routers external IP before a NAT rule can be applied on ExtIf and then the router can’t find anything listening so rejects/drops the connection.

    To confirm if it is the DNS problem. Run an nslookup $domain from both your local and external boxes and see if they return the same IP address. If the IP’s are the same and it’s still not working you will need to take a closer look at the router, hopefully that’s possible. If not you may need an internal DNS server that can respond with the internal IP addresses for any domains it knows about then forward any other requests externally.

    The NAT issue is called NAT Loopback, Hairpinning or Reflection. See here for a linux solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just set up Django on a dreamhost server. Ran through everything, but can't
I just set up a new LAMP server. I can connect to mysql through
I've just set up my debian squeeze server. But now i got a little
I am using MySQL community server 5.1. Is there a way to just set
I just set up a simple virtual server with Debian netinst. Now I want
I am using Linq-to-SQL (C# 3.5) to read two tables, house and county, from
I have just set up Hudson on my server. For some reason, my build
I just set up fastcgi with lighty for django, but I'm getting the fcgi
I've just set up a repository on my server. I'd like to use it
I just downloaded Netty for a personal client-server-project from here: http://netty.io/downloads/netty-3.3.0.Final-dist.tar.bz2 On the download

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.