Report this

What is the reason for this report?

How to create a subdomain in Apache , Ubuntu 14.04?

Posted on August 21, 2014

I have installed Apache, Mysql, Webmin & also configured DNS settings for the primary domain but however I want to create a staging site first .i.e. staging.domain.com and then want to make the site live.

I already checked so many articles on Digital Ocean’s forum. Every one has different approach & this all makes it very confusing.

I read these posts but it all seems to have messed up. Can some one please provide an easy way to deal with this?

Thanks in Advance.



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.

This comment has been deleted

try using <VirtualHost *:80> rather than: <VirtualHost 104.236.80.93:80>

Maybe use A records instead of CName…

When you create your a records, you just need to put in the sub-domain (calis) rather than the full domain (calis.kludgecruft.com)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.