Welcome Guest, Not a member yet? Register   Sign In
Subdomain routes to a folder
#1
Question 

I am currently developing a web application and i am seperating the frontend and backend. 
--app
----Controllers
-------Frontend
-------Backend
----Views
----Frontend
----Backend
I want to have the whole app directory in one folder on the server but if someone visits the backend subdomain it should access the backend only and vice versa since the frontend and backend will share the same models.
How do I go about this?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB