5a6c1d69e18cff4e04aab85a355f0b01148ec40b
By:
Felice

How to use subdomain in the same server

February 15, 2016 8.1k views
Apache DNS

For example

domain.com -> ipserver
wordpress.domain.com -> ipserver
joomla.domain.com -> ipserver

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

2 comments
1 Answer

Hello,

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.

Best,
Mike
DigitalOcean Support
Check out our community for great tutorials, articles and FAQs!
https://digitalocean.com/community

Have another answer? Share your knowledge.