Report this

What is the reason for this report?

Apache2 - Redirect subdomain to subfolder

Posted on May 2, 2020

I have set digitalocean to handle my domainnames.

I have one droplet with the backend and one with the frontend. I have pointed my domain name to the frontend (example.com). I would like to point a subdomain to a subfolder on the wordpress backend (admin.example.com -> DROPLETIP/wp-admin)

I am using apache2 on the subdomain, I have tried to edit the apache2 config, but I feel like im getting lost.

Any ideas?

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.