Noob Help With EHCP
Submitted by TheSheep on Mon, 03/05/2012 - 20:06
Hi Everybody,
I'm new to the site so just wanted to say Hi!
I have set up a server using ubuntu and EHCP and have managed to install everything ok and without any major issues.
Unfortunately my problem is that I have now created a new domain using EHCP and although the location has been created on my actual server, I am not able to access the domain using 192.169.0.1/vhosts/domname/domname
Like I say, I am newbishly new to all of this, I was just wondering if this way maybe a permissions issue, or whether I need to set some further permissions etc?
Any help would be much appreciated, many thanks.
James
Forums:
ehcpdeveloper
Mon, 03/05/2012 - 23:31
Permalink
domains cannot be accessed
domains cannot be accessed that way,
use hosts file technique for accessing domains through ip.
search on this site
TheSheep
Tue, 03/06/2012 - 23:54
Permalink
Is there any chance of
Is there any chance of explaining why? I don't get why I can't just access everything inside vhosts? Is it really that difficult to change! It's only a local server...
ehcpdeveloper
Wed, 03/07/2012 - 01:11
Permalink
it is possible to
it is possible to change.
edit /etc/apache2/sites-enabled/default
and change path /var/www/new to /var/www
restart apache2
this way,
you can access your domains like:
http://yourip/vhosts/ftpuser/domain.com