How to use subdomain in the same server

Posted February 15, 2016 28.6k views

For example -> ipserver -> ipserver -> ipserver

so obviously each of the submain having different apllication.. Im using apache.


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.

Submit an Answer
1 answer


From a DNS standpoint, you would simply create the following records on your DNS page:
wordpress CNAME @
joomla CNAME @

From an apache standpoint, you will simply need to create corresponding virtualhost entries to deal with the new incoming traffic.

Please let us know if there is anything else we can help you with.

DigitalOcean Support
Check out our community for great tutorials, articles and FAQs!