Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
HTTP-Server reachable via IP-Adress, but not via domain name

First question on StackOverflow ever, thanks in advance for your help ;-)

So I just set up my first personal webserver and it is mostly working fine.

I have three services running:

  1. nginx / apache2 (dockerized) (Tried both, one at a time of course) on port 80
  2. teamspeak (dockerized) on port 9987
  3. sshd (not dockerized) on port 22

I can access all servers via IP-Address (Teamspeak Client / Curl / openSSH).

Now the part I don't unterstand: While I can connect to the teamspeak / ssh through the server's domain name example.com, I cannot connect to the http-Server through the domain name (Neither curl nor browser):

  • curl example.com, curl http://example.com, curl http://example.com:80 from my home machine all yield no response from the server (only the eventual timeout).

  • curl example.com from the server itself yields the nginx/apache example document (which is the expected result).

Some more information:

  • host example.com from my home machine returns my server's ip.

  • DNS Record for the domain name is: Name: example.com; Type: A; TTL: 3600; Target: <server-ip>

  • I did not configure the http-servers in any way. Only used the official docker images.

  • The result of docker ps on the server:

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                                                        NAMES
ea9d7dc1fd72        c5a012f9cf45        "httpd-foreground"       4 minutes ago       Up 4 minutes        0.0.0.0:8080->80/tcp                                                         httpd
1ce69dc63349        teamspeak           "entrypoint.sh ts3se…"   17 hours ago        Up 15 hours         0.0.0.0:10011->10011/tcp, 0.0.0.0:9987->9987/udp, 0.0.0.0:30033->30033/tcp   teamspeak

Update: Additional information as requested by @taleodor:

  • The server is a root-server hosted at https://zap-hosting.com

  • dig example.com shows the correct ip for my server like this:

;; ANSWER SECTION:
example.com.    2814    IN  A   <server-ip>
  • Plain nginx shows the same behavior as the dockerized version
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!