masque7
December 20th, 2008, 11:31 PM
I've just recently set up a LAMP server, everything is working as it should, however I've got myself into a mess.
I'm hosting dynamic DNS with no-ip.com, therefore I can access my server anywhere. I access it for sFTP and torrentflux, etc.
What I also want to be able to do is host my own website. The problem I'm having is with Apache. The default root directory for apache to show is /var/www (and the big "It works!), which is fine - because that's where torrentflux is, so I can access that. However, if I change the directory from /var/www to whatever else, I won't be able to access it. I don't think you can move the torrentflux directory because it's dependent on being in /var/www because of apache.
of course, /var/www is a root directory so I can't just move index.html into there.
any ideas how I can host a website and the aforementioned side-by-side?
I'm hosting dynamic DNS with no-ip.com, therefore I can access my server anywhere. I access it for sFTP and torrentflux, etc.
What I also want to be able to do is host my own website. The problem I'm having is with Apache. The default root directory for apache to show is /var/www (and the big "It works!), which is fine - because that's where torrentflux is, so I can access that. However, if I change the directory from /var/www to whatever else, I won't be able to access it. I don't think you can move the torrentflux directory because it's dependent on being in /var/www because of apache.
of course, /var/www is a root directory so I can't just move index.html into there.
any ideas how I can host a website and the aforementioned side-by-side?