Results 1 to 1 of 1
Hello, I have setup Ubuntu 10, Apache 2 and PHP5 setup on a server. I intend to run a single PHP application on it. I would like all domains pointing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-21-2011 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 27
How can I point all incoming requests to one directory
Hello, I have setup Ubuntu 10, Apache 2 and PHP5 setup on a server. I intend to run a single PHP application on it. I would like all domains pointing to this server to point to my application's web root. How can I set this up?
I have set Document Root in /etc/apache2/sites-available/default to my application. I pointed my first domain about two weeks ago and it worked. But now no other domains are pointing to my application. It goes to a page that says "It Works!".
I know this can be done because I have seen it working on a CentOS system. No server configuration was necessary for new sites. All sites simply pointed to the same directory.
Please help, how can point all incoming requests to the same directory?


Reply With Quote
