Find the answer to your Linux question:
Results 1 to 3 of 3
So my dad the other day went out and bought a domain name, before I had finished some of the parts of my server, and he wants me to set ...
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    3

    Webhosting

    So my dad the other day went out and bought a domain name, before I had finished some of the parts of my server, and he wants me to set up the domain name to my server. Does anyone know how to set up apache2 or any other program, so that it will take all people who type in the domain name to a certain public_html folder on my server?

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    1) you will need a static IP address. This may cost check with you Internet provider.

    2)here is an interesting thread
    Need Apache2 Tutorial For Noobs - SUSE Forums

    3)Here is a tutorial
    HowTo: Configure a Linux Apache Web Server on Suse/openSUSE for SSI, Includes, CGI, Common Gateway Interface, AddHandler, ExecCGI, AllowOverride, htaccess, DocumentRoot

  3. #3
    Just Joined! jdh239's Avatar
    Join Date
    Sep 2006
    Posts
    55
    If you wish to host more than one domain name at the same IP address, you will want to look at setting up virtual hosts under apache.

    The second tutorial, listed by the previous person, looks like it covers virtual hosts. /var/log/apache2/error_log is your friend. Be sure to check it often as it is quite useful in diagnosing problems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...