I have three internal servers that will never have any connection to the internet. I've had to build a local yum repo to set them up with tools like bugzilla and the like. However, all three are connected together and I connect to them through an ethernet connection that hooks straight into my laptop.

On one of the servers, I would like to run web sites for others to see internally when they also hook into the ethernet connection. I've installed httpd and started it, but going to the a webpage on my laptop and trying to summon does not bring up anything.

I'm assuming that my laptop thinks I'm looking at it's web server and has no idea how to access the other server. This is a Cent OS server I want to use for internal web pages, btw. How can I get DNS set up on this air gapped server, only accessible by ethernet so I can server web sites on it?

I've specified the vhost as and also have the Listen on, but I know I'm missing something else that's crucial here.


have you verified if the IPtables are not blocking the port 80 from streamin outside localhost?

iptables -L  

try this and see if you have the port available to the LAN

as Jake mentioned, you can open the port by

iptables -I INPUT -p tcp --dport 80 -j ACCEPT  

this should be more then enough.

| improve this answer | |
  • That was it! I always forget about the iptables. Thanks! – Lynn Nov 21 '13 at 22:38

also, if you are interested in exploiting the DNS option.
I used this link to answer the concern


| improve this answer | |
  • Thanks. I can't try any of the suggestions until I'm back at work tomorrow, but this ^ looks helpful.... – Lynn Nov 12 '13 at 2:01

From the client machines, run NMAP to see if port 80 is open:

nmap -p80

If it is not open, the response will be something like this. Meaning something is blocking port 80:

80/tcp closed http

What you want to see is:

80/tcp open http
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.