Configure what’s served
Try Upsun for 15 days
After that, enjoy the same, game-changing Upsun features for less with the First Project Incentive!¹ A monthly $19 perk!
¹Terms and conditions apply
How you should configure your web server depends a lot on what you want to serve. The following examples show how in specific scenarios you might define your web server.
PHP with front controller
Start with a basic PHP app with a front controller for dynamic requests.
Rewrite requests
Rewrite requests to be served by other parts of your app without directing users.
Serve different paths
Serve directories at different places than where they are in your app.
Static sites
Serve completely static sites
Custom headers
Set custom headers for your static content such as custom content-types or limits to cross-origin usage.