Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

From the recent crazy effort of myself and help from the community, see previous posts(here), I have reach the conditions where I am quite sure that I be able to access the web server through the internet. This is what I have done:

  1. Set the static ip at /etc/network/interfaces

    auth eth0
    ...inet static
    address ....
    netmask ...
    gateway ...
    
  2. Set the /etc/hosts

    127.0.0.1  localhost
    [static_ip]  web-server
    
  3. Set the /etc/resolv.conf to include my dns

    nameserver [dns-ip-primary]
    nameserver [dns-ip-secondary]
    search web-server
    

For your information, using the static IP the university gave me, I could do this in the server.

  1. ping the default gateway
  2. ping google via ip
  3. ping google via address
  4. access any website using lynx (text-based browser)

Problem But still, with these setup, I could not accessed my website via the internet but only via the local network.

I still does not know what I have miss, please guide me!

share|improve this question
    
You forgot to tell us what the problem is. –  David Schwartz May 23 '12 at 4:32
    
Got ya! added it –  chaky May 23 '12 at 4:34

1 Answer 1

up vote 0 down vote accepted

It sounds like a firewall is blocking you. Did the network administration say your IP would be open to connections from the outside?

share|improve this answer
    
That's it...i am crazily frustrated with them. Told them and will be ok, thanks a lot @DavidSchwartz –  chaky May 23 '12 at 4:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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