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 Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.

Help Configuring Virtual Machine for Apache etc

  • 01-09-2015 12:33PM
    #1
    Registered Users, Registered Users 2 Posts: 298
    ✭✭


    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, Registered Users 2 Posts: 7,741 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


Welcome!

It looks like you're new here. Sign in or register to get started.
Advertisement