Report this

What is the reason for this report?

How do I go about making a subdomain appear to be a subfolder?

Posted on August 2, 2017

I’m trying to find out how to make a subdomain appear as a subfolder ie:

if I have -

forum.example.com

but I want to browse to -

example.com/forum

to find it rather than have it available at forum.example.com

also - how would I work this with SSL?

should I add forum.example.com to the certificate? or would it be covered under example.com?

Thanks for any pointers!

Johnny



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.

Hi @bigjohnny

Are you using Apache or Nginx?

If you don’t want to use forum.example.com anymore, then you can setup redirects to example.com/forum/ And then you only need to add HTTPS to example.com since you’re not going to actively use forum.example.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.