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

Posted August 2, 2017 2.3k views

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

if I have -

but I want to browse to -

to find it rather than have it available at

also - how would I work this with SSL?

should I add to the certificate? or would it be covered under

Thanks for any pointers!


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.

Submit an Answer
1 answer

Hi @bigjohnny

Are you using Apache or Nginx?

If you don’t want to use anymore, then you can setup redirects to
And then you only need to add HTTPS to since you’re not going to actively use

  • Hi @hansen I’m using Nginx..

    I haven’t even set it up yet, so I am not using at all, but deploying with dokku I think its easiest to deploy the app to that subdomain.

    Thanks for the advice, redirecting seems like a pretty easy option as well,