# Application hosted on subpath of domain

If you have an application hosted on a Subfolder/path in your Web Server
You may have an application hosted under a subfolder/path on your web server, possibly because it is better than having another server for it. For example: localhost:port/subpath, localhost:port/support etc.

To enable the subpath hosting for your application,

1\. Go to Resources &gt; Applications &gt; Define and select the application from the drop down at the top of the page
2\. Then in Security (tab) &gt; Firewall Rules &gt; HTTP Rules, change the / entry under path to your custom subpath (For example, /subpath)
3\. Under Proxy (tab) &gt; HTTP Rewrites, inside the Common Path Prefix field, enter your custom subpath again (For example, /subpath)