Apache webserver httpd
hey i was reading a few other posts on this subject and what i got from this was that i need a dns host because i need to domain hosts ok so i got one
how do i set this all up i was reading these post and there soo confusing someones saying this and then someone else is saying something different so basicly i wanna set up my own website using apache i have it installed and its running.......now what????:confused: Matt3333 |
You need to configure the server by modifying:
/etc/httpd/conf/httpd.conf If you aren't very familiar you could install webmin www.webmin.com It is very good for basic service configuration. |
You can run a web server on your computer without having a domain name. Just use your IP address to access it.
If you want a name to use, try a name service like dyndns.org it's free, and very flexible to be able to fit most any situation you're in. |
ok i got webmin i configured a new virtual host thats all done i went to dyndns.org got all that set up but now what do i do how to i make it lol hehe i dunno im sooo confused here :confused: sorry plz help me i made a dynamic host thing w/e u wanna call it and i configured it so that its configured in apache/webmin and now what would i do to get it up and running???
matt3333 |
I went to my ip address on the internet and it said welcom to blah blah and it said powered by apache and this server powered by Linux Mandrake so im guessing its working but now what do i do??? :confused: plz help!!!!
Matt3333 |
Start by reading this http://www.dyndns.org/support/faq.html
|
seems to me your servers working.
you now need to make the web page (if you havent??) and copy the files in to the htdocs directory...with 1 called index.html |
ok but where would that dir be placed in my computer i was looking in /usr/lib/apache not in there ????? i type in the terminal whereis htdocs and it found it but i dunno where it is help
Matt3333 |
on redhat I believe it's /var/www/html
|
Thank-you it was there but its not leting me modify it or del it how would i change the permissions or is there away to tell it to look for index.html in another dir????
Matt3333 |
You can edit the DocumentRoot directive in /etc/httpd/conf/httpd.conf and set it to any path you like (so long as it exists and the user "apache" can read from it) - I usually use /home/www/html or /home/httpd/html. Most people find this works better as there is more space on their home partitions.
NOTE: You will need to be logged in as root to add the directories. The reason you can't write to the current directory is because you do not have the correct permissions on it. Look into: chown chgrp chmod |
You can do:
chmod 755 index.html That will give read, write and execute permissions to the owner and read/execute permissions to everybody else... To do it on all files use something like: chmod -R /var/www/html (use with caution....) I also concur with what david wrote. Hube |
Thank-you guys i got it all worked out i just loged into root changed them from there then loged outta root back into mine and worked fine but now i got another problem i dont think its broadcasting it out cuz i got one of my friends to try it and they just get connection refused any ideas y this is doing it???? i thought it was all good and working fine then i got one of my friendds to go to it and it didnt work :confused: plz help
Matt3333 |
Is your firewall open on port 80? Do you have router, is that allowing incoming traffic to reach your host machine?
|
All times are GMT -5. The time now is 10:37 AM. |