Heres the problem: I have a dedicated server on which I am running few websites. I had this guy helping me with setting up one of the websites with special needs, but cant get a hold of him since hes out of country now.. He set it the way that this website content was located at /var/webroot/ . All good, until I have decided to allow more bandwidth for this website (using the ensim control panel to do the job for me - through which the site was at first set up). Doing this, Ensim made the desired changes, but has also reseted other settings to default (thus nullifying this guys work) and now my webiste its again pointing to: /var/www/html/ , instead of /var/webroot/ where the content is actually located at.
So my question is, what do I have to do in order to make sure that when person visits my website is pointed to the right area of my server and not to the default part, set by ensim. I hope Im clear enough and that you understand the situation I found myself in Thanks!
PS: I hope this is the right section of WHT to post this in..
You will need to make the change in the httpd.conf, but whenever you make changes through the control panel it will overwrite the changes you made.
Thanks Allan, Im aware that Ensim will reset those settings every time I use it. But untill I come up with better solution Ill just have to stick to this. If its just one file that has to be edited, added few lines, then I can just keep those lines saved on my pc and everytime this occurs, I can just add them where they are supposed to be. I dont even use ensim all that often so it shouldnt be a problem. However, could somebody explain a bit more about this httpd.conf editing to me? Im sorry, but Im a newbie when it comes down to that..
Hololi: Thanks for your help as well As I said, Im a newbie when it comes to manually configuring Apache
Thanks admin0 Theres only one question left: Where and how the hell do I edit this httpd.conf? I know, I know... RTFM right? Just tell me guys, please. Curently 700 daily uniques are going into nothing..
Originally posted by rackyou Thanks admin0 Theres only one question left: Where and how the hell do I edit this httpd.conf? I know, I know... RTFM right? Just tell me guys, please. Curently 700 daily uniques are going into nothing..
If you did what sashi advised, you do not need to edit httpd.conf.
ps. His solution is better than editing httpd.conf as any control panel changes do not affect it
Last edited by sprintserve; 04-08-2003 at 11:06 AM.
Originally posted by sethgarnar First of all, how can you run a web hosting business if you cant even figure out how to edit httpd.conf. It really is depressing to see such a lack of basic unix skills.
locate httpd.conf !!!!!!!
then vi/joe/pico/ httpd.conf
I aint running webhosting biz, so chill out Last time I checked, this was open forum for who ever finds its info helpfull..
Admin0 & Sprintserve: Tanks a lot Ive got little confused since few other guys were mentioning httpd.conf and thought this has something to do with it..
My soultion will prevent the necessity to edit the httpd.conf and no matter what more changes ensim makes, it will not affect the hosting.
As per your original post,
.........website content was located at /var/webroot/ .........and now my webiste its again pointing to: /var/www/html/ , instead of /var/webroot/ where the content is actually located at.....
my solution will sync/alias the 2 directories i.e either it is /var/webroot or /var/www/html, the contents will be the same.
Hope this explains.
███ Remote Hands/Cloud Setup @ Europe
███ DevOps for Hosting Comapanies
███ Cloud Consultancy and Setups
███ since 1997
Originally posted by sprintserve It will affect only that site, however you can basically repeat the same thing for any number of sites that you need to do that. Frankly is there a reason you want to do this?
Thanks. No, theres no need for this to apply to other sites. Once again, thanks to all!