Trouble shooting "www"

HI,

I’m kind of new with all this and is self teaching myself everything so please be patient. I currently have my domain “example.com” being point to my public domain for a website. However, I would also like the domain to point to a private network IP for the admin side of it. I used the configuration provided to me by the self-hosted platform but it’s configured to have “www.mydomain.com” be pointed to the admin private network IP and just “mydomain.com” with the “@” and “*” DNS name set to my public IP. Essentially, i would like to have them reverse or would it be easier to just set a subdomain for the admin site?

It sounds like would just need to swap the IPs in the DNS records so that IP configured for www goes to the @ and the @ IP goes to www

Unfortunately, this is what my DNS settings ended up like. It doesn’t have my private IP at all…

The config file below

; Basic ipv4/ipv6 records
@ 3600 IN A 73.169.169.11
@ 3600 IN AAAA 2601:601:100:fab0:48ca:1cff:fe1d:90fb

; Mail
@ 3600 IN MX 10 thaicafe.club.
@ 3600 IN TXT “v=spf1 a mx -all”
mail._domainkey 3600 IN TXT “v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCy7wsneYqd3Ny3BySUIt6HhaQB+6a5EqjYySzNckbnTT2yFaPPUkOvuA+VL3m4ypQ8Mhrx/cd6A+ZIvPmz+qpHEhdlWjmdcJqUlIS0KzVJ+aqc0nmOmBIyLgPUmlk2YBtJnQ5k9cIHMxYnSLnWWR37PaAKLBPSCaFopHHrCCJOAwIDAQAB”
_dmarc 3600 IN TXT “v=DMARC1; p=none”

; XMPP
_xmpp-client._tcp 3600 IN SRV 0 5 5222 thaicafe.club.
_xmpp-server._tcp 3600 IN SRV 0 5 5269 thaicafe.club.
muc 3600 IN CNAME @
pubsub 3600 IN CNAME @
vjud 3600 IN CNAME @
xmpp-upload 3600 IN CNAME @; Extra

  • 3600 IN A 73.169.169.11
  • 3600 IN AAAA 2601:601:100:fab0:48ca:1cff:fe1d:90fb
    @ 3600 IN CAA 128 issue “letsencrypt.org

I suggest you not use AAAA records for now. That should make it easier to manage while you work through this.

If you want to use a ‘www’ hostname, I suggest you explicitly set that in DNS. The wildcard will cover anything else that’s not specified.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.