Connect Server to subdomain

December 3, 2014 1k views

Hello :)
I'd like to connect a subdomain app.domain.de to a DI droplet.
I've asked my domain provider what to do and he said I might just add an A Record for that subdomain and set the IP, but that didn't work.
I will just list my current settings as I'm new to DNS and am not sure if these settings are important to know. I can access my website using www.domain.de and domain.de, it is hosted on Webflow.com

Hostname Type Priority Target
domain.de MX 100 domainFACTORY
*.domain.de MX 100 domainFACTORY
domain.de A 11.222.333.44
*.domain.de A 11.222.333.44
domain.de A 99.888.777.66
*.domain.de A 99.888.777.66
imap.domain.de CNAME domainFACTORY
pop3.domain.de CNAME domainFACTORY
smtp.domain.de CNAME domainFACTORY
www.domain.de CNAME proxy.webflow.com

Could you help set the right settings?

Thank you!

1 Answer

The problem you encountered is likely due to the wildcard subdomain records you have in place. If a visitor were to request do.domain.de this request would match both your current record:

*.domain.de A 99.888.777.66

and a record set up for the new subdomain:

do A 99.888.777.66

If you want to point some subdomains to one location and some to another I would generally recommend avoiding using the wildcard record.

Have another answer? Share your knowledge.