I have my main website hosted with Digital Ocean but I need to point a subdomain to a different host (smugmug). How do I do this? I am using Serverpilot.io with a Digital Ocean droplet.
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!
Hi, A moment ago a installed an app with Laravel Forge. It’s installed under the name example.mydomain.com, so, if I go to the installation path into ubuntu, i see a folder which has such a subdomain name. The subdomain example.mydomain.com was created with Webfaction. What would be the steps to point example.mydomain.com in Webfaction to the new app installation under Digital Ocean? I know I should add a cname record in Webfaction for the domain, using the ip of the droplet in Digital Ocean, however i don’t know how to point exclusively to the folder of the app installation.
Thanks in advance for all the help,
If your domain is pointed to our nameservers you will just need to create an A record for your subdomain pointed to the IP address on the other host where your content is located. For example, if your subdomain was mysite.example.org and the IP address of your other host was 1.2.3.4 you would create the following record under example.org.
mysite A 1.2.3.4
For smugmug you need to set up a CNAME record. This info is taken from SmugMug’s website.
Point your CNAME ‘www’ to domains.smugmug.com. (You can use whichever sub-domain you’d like) Using a subdomain to point at SmugMug? There is no need to set up an A Record.
Visit your SmugMug Account Settings > Me > Account tab for the “Custom Domain” line. Paste your new domain name into the box and click “Save Changes.” That’s it!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.