Hello, I am very new to digital ocean and hosting as a whole and would like some advice here.
I have so far successfully deployed a meteor app to my droplet and assigned a domain name (app.example.com) and that works perfectly. However I would like to know how, if possible, I can host a landing/web page for my app on the same droplet that can be accessed from example.com. (The idea is to have a simple web page that links visitors to the app store to download the app, but they can also proceed to app.example.com for the web version.)
I know I might have to use something like Apache and do a virtual host etc. but the real question is; how do I assign an A Record to my domain that links to the landing page (example.com) and assign a different A Record that links to the app (app.example.com)?
Since droplets only have a single IP, is that at all possible? Or is there another way to go about doing this.
Thanks in advance to anyone who might be of help!
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 $100 of credit to try our products over 60 days!