dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -


i have 2 simple dokku sites on 1 server. first static html site, , second simple rails app. each app has own tld. sake of argument give them domains: static.com , rails.com.

ive used dokku domains plugin set both naked , 'www' domains each site. domain names purchased , setup through namecheap

the namecheap domains each have 2 entries:

@    |    http://www.static.com    |    url redirect www  |    static.server.com        |    cname(alias)  @    |    http://www.rails.com     |    url redirect www  |    rails.server.com         |    cname(alias) 

i encountered this issue on dokku github page indicate can overcome using naked domain app name when creating original git remote.

git remote add dokku dokku@server.com:static.com 

however, issue closed 2 years ago, , same result seems accomplished domains plugin. im wondering if should restart point both apps?

so far above steps has resulted in traffic both domains being sent static.com. has encountered before? there way overcome issue?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -