Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
whats the better way for multiple subdomains on LEMP
i need to create 2 subdomains along with my site in one droplet.
ex: mysite.com ( simple html based website)
site2.mysite.com ( codeigniter framwork based app)
so should i create separate virtual host for each subdomains or
should i create folders and point those folders using redirect rules in main virtual host file. also is it possible to accomplish my above requirement this way?
please suggest me which method should i chose and why?
thanks in advance
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.×