Report this

What is the reason for this report?

Automatically manage subdomains (without editing vhosts) apache

Posted on November 23, 2016

Hi!

I’ve decided to give digitalocean a try. I wanted to have more control of my remote dev enviroment but I guess it was more of the need to get my hands dirty with server management.

I’ve bought domain with local hosting and would like to point subdomains with projects on my Digital Ocean VPS.

Is there a way to setup vhosts in a way that they would simply point to a specific folder that when I create a new folder it would be automaticall “mapped”? Also do I have to create the specific subdomain with my local hosting service every time i need a new one? Or if i point my domain to the droplet all new subdomains will automatically work?

What are my options here? Thanks!

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.