Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .