How to use subdomain in the same server

February 15, 2016 16.7k views
Apache DNS

For example -> ipserver -> ipserver -> ipserver

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

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!

Have another answer? Share your knowledge.