SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot y2kbug's Avatar
    Join Date
    Nov 2004
    Location
    Hong Kong
    Posts
    173
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to set up a HTTP server in linux?

    I have rent a dedicated server.
    My partner hasn't asked the company to install every thing...
    So, we have to install apache, mysql... ourselves...
    We have installed apache, but when I type the URL, nothing is shown.
    I want to ask, must I need to install a name server?
    And, how to edit the configuration file of apache via SSH connection?

    Thanks.

  2. #2
    Can we go to a 48 hour day?
    Join Date
    May 2002
    Location
    MI
    Posts
    906
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What OS is the server running? I'm assuming some version of Linux if you're messing with apache and such, but I could be wrong.

    Best thing to do...pick up a book and spend time time reading online tutorials particular to your setup.
    mitechie.com
    "Techies just think a little differently
    ...at least that is what they keep telling me."

  3. #3
    SitePoint Columnist
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definitely do some reading first. However - insure apache is started by running /usr/sbin/apachectl status on the command line if you can ssh in. If it is not running - simply type /usr/sbin/apachectl start.

    You can edit the main apache config file in /etc/httpd/conf/httpd.conf in most cases.

    In some installs - apache may have been placed in /usr/local/apache.

    Take a browse through http://httpd.apache.org/docs-2.0/ to start getting familiar.
    Freelance System Administrator, Researcher, Writer
    Practical Applications
    Open Sourcery "SitePoint's Open Source Blog"


Bookmarks

Posting Permissions

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