Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Help Configuring Virtual Machine for Apache etc

Options
  • 01-09-2015 12:33pm
    #1
    Registered Users Posts: 277 ✭✭


    Hi,

    I have been given access to a virtual machine running CentOs 6 to install a website.

    PHP,MySQL and Apache are all installed by default.

    As Far as I can make out my virtual machine consists of a directory (called my ssh username) in the home directory in a linux / unix based server. The are other directories here under other names.

    My directory is entirely blank. I just tried putting an index.html file in there and browsing to the network address but I am getting a request times out.

    Obviously i need to do something like configure document root path but i cant as i only have write access to this directory. There are multiple sites on the machine each with their own directoy in the 'home' directory.

    The DNS loopup etc matches to the IP address I use for SSH. I have been able to download the httpd.conf file in the /etc/httpd/conf folder
    but there is no mention of virtual hosts etc there.

    Am I missing something simple?


Comments

  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Has Apache can be configured correctly to serve your virtual host?

    Are you logging in a non-root user?

    virtual hosts are often in either an included file or an included directory - not directly in the httpd.conf


Advertisement