I've been trying for like 2 days to get my domain to resolve to ip address I've never such using using different system this this which leads me to think there is issue with this system.

What I've done so far

  • verified my resolvers are pointing to google.
    checked firewall
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 127.0.0.1:8125 0.0.0.0:* LISTEN 27611/netdata
    tcp 0 0 0.0.0.0:19999 0.0.0.0:* LISTEN 27611/netdata
    tcp 0 0 127.0.0.1:9183 0.0.0.0:* LISTEN 24292/php-fpm: mast
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 24526/mariadbd
    tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 29509/redis-server
    tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN 27440/sendmail: MTA
    tcp 0 0 0.0.0.0:22222 0.0.0.0:* LISTEN 24158/nginx: master
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 24158/nginx: master
    tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 5513/systemd-resolv
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 534/sshd: /usr/sbin
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 27440/sendmail: MTA
    tcp6 0 0 ::1:8125 :::* LISTEN 27611/netdata
    tcp6 0 0 :::19999 :::* LISTEN 27611/netdata
    tcp6 0 0 ::1:3306 :::* LISTEN 24526/mariadbd
    tcp6 0 0 ::1:6379 :::* LISTEN 29509/redis-server
    tcp6 0 0 :::80 :::* LISTEN 24158/nginx: master
    tcp6 0 0 :::22 :::* LISTEN 534/sshd: /usr/sbin

at this point and time I'm about to toss in the towel give up on word ops I was assuming this would be simple boy was I wrong. I may try different os then Ubuntu but I have doubts

It's normally super easy - just a case of adding a site (wo site create...) and point the DNS to the server IP.
Is UFW enabled? And open for http/https?
Do these return correct IP address:

dig yourdomain.com +short
nslookup yourdomain.com

root@vps-1721bb90:/etc/letsencrypt# dig maskdomain.com

; <<>> DiG 9.18.30-0ubuntu0.22.04.2-Ubuntu <<>> maskdomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15005
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;maskdomain.com. IN A

;; ANSWER SECTION:
maskdomain.com. 300 IN A 15.204.xxx.xxx

;; Query time: 112 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Wed Feb 26 04:58:06 UTC 2025
;; MSG SIZE rcvd: 60

root@vps-1721bb90:/etc/letsencrypt# nslookup maskdomain.com
Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
Name: maskdomain.com
Address: 15.204.xxx.xxx

** the maskdomain isn't the actual domain ** but so far everything checks out but that server ip adress makes me wonder

I removed a couple of other real domain references that were still in your post (assuming mr*****ris.com is the real domain). Not sure if you made any further changes but that site loads fine for me and shows a fresh WordPress install.

(For nslookup it's the address line that matters so if that IP is correct it's fine)

Yes thats correct. I've cleard my cache for some odd reason I'm not able to get to that site. I tested on my mobile data it works tried vpn didn't seem to work. I'll try it on different vps perhaps its the vps ip address.

5 days later

I figured out what I was doing wrong and got it working. thanks for all your prompt response. I feel so silly.
The solution to help others 1. make sure your domain resolves then make sure your hostname is updated on the vps.

Hosted by VirtuBox