I have created a docker droplet on digital ocean to host my application. The application is working well, when called from a browser using ip address 167.xx.xxx.xx. I have booked a domain name using godaddy and have assign ns1, ns2, ns3 in godaddy as instructed. I have also created a “A” variable in digital ocean to assign domain name to ip address I can ping the domain name (www.xxxxxxx.xyz) from command prompt and get reply, but when I use a browser to launch the application using domain name, it gives me error “Invalid Host header” I have another droplet in digital ocean, which is not a docker droplet, which works well for same setting
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!