Click to See Complete Forum and Search --> : Need Basic help with apache


Ozarkian
04-23-2001, 12:01 AM
Hello to all, I would like to try to set up apache to host my websites from my home. If anyone can help with these questions it would be great.
(1) Do I have to have a statice IP address?
(2) How do I set it up for displaying html pages in my home directory. I have no problem with it showing /home/httpd/html/ it will not show anything in /home/mydirectory/public_html.

I have been working on this for a few days ( long hours) with no luck. If anyone could take time to explain, it would be great. I am using Linux-Mandrake 7.1.

Thanks

Golden_Eternity
04-23-2001, 03:12 AM
(1) No, but it makes it easier for people to find you.

(2) Check the permissions on your home directory... It needs to be executable by the 'nobody' account (or whatever account httpd is running as)... You'll likely just have to set it o+x.

And of course you'll access it at http://<ip>/~username/ ...

[ 23 April 2001: Message edited by: Golden_Eternity ]

Rastar
04-30-2001, 02:50 PM
You could use a service like dns2go (http://www.dns2go.com)to redirect your dynamic IP address to a host name for instance http://myname.dn2go.com would forward it to your address which is kept alive by a small program you leave running in a konsole or have it start automatic on reload.

I use it however I just updated my page and for some reason all it shows is white now :mad:

Hope this helped.

Rastar

Ozarkian
04-30-2001, 05:05 PM
Thanks for the info. I signed up for dns2go.com and it works really good. I now need to set it up so that I can use the domain name that I have registered. I got the file permissions set. With a little more time to learn about apache and help from other linux users, I think I will have my website up in no time. Thanks for the replys. :)