Apache2 - Redirect subdomain to subfolder
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.
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.×