← ServerPilot Docs
How to Serve a Subdomain from a Subdirectory
If you need a subdomain to point to the subdirectory of an existing app,
complete these three steps:
- Create a separate app under the same system user.
- Add your subdomain as one of the new app's domain names.
- Follow our guide
to customize the web root directory of the new app so that it is a
symlink to the subdirectory you want to use.