By 7aRd1Gra3e
This is my url: https://front.example.net/#/dashboard/partners/partner/{partner_name}/orders/list
I would like to setup subdomain for every {partner_name} via Nginx.
For example, instead of: https://front.example.net/#/dashboard/partners/partner/google/orders/list I want something like this: https://google.example.net/orders/list
Thank you!
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!
Hello,
What I would suggest is creating server blocks for each subdomain name, that way you would have full control over how the content is being loaded.
For more information on how to setup server blocks I would recommend going through this guide here:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.