+ Reply to Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 2 Post By Dead-i

Thread: New to VPS

  1. #1
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,449

    Question New to VPS

    Hello everyone! Just a few hours ago I bought my VPS package and so far I am very pleased about the service X10VPS is offering. I have chosen the CentOS 5.5 32-BIT system for my VPS, and followed the instructions on the LXCenter website to install Kloxo onto it. However, I'm having a few problems.

    My domain is resolving /var/www/html/ at the moment, when my Kloxo control panel is using /home/admin/. However, the /var/www/html/ will not process PHP, like it hasn't been installed.

    So, here is my question.
    - How can I set my Kloxo control panel to use /var/www/html/; I have not bought Additional IPs?
    - How can I install PHP to /var/www/html/?

    Or is there something I'm doing wrong? Thanks! :D

  2. #2
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,449

    Re: New to VPS

    Anna solved this problem for me via the IRC - thanks! :D
    dinomirt96 and karimirt47 like this.

  3. #3
    vineet8137 is offline x10Hosting Member vineet8137 is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    1

    Re: New to VPS

    Can someone post the solution to this here, please.

    Thanks

  4. #4
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,449

    Re: New to VPS

    To solve the problem, log in to SSH as root and edit the httpd.conf file with nano or a similar editor. Here is an example of what I would run:
    Code:
    nano /etc/httpd/conf/httpd.conf
    Then, find the section of the file named DocumentRoot. If you are using nano, push CTRL+W and enter 'DocumentRoot' to find it. Once you have found it, change it accordingly. For example:
    Code:
    DocumentRoot = "/home/myuser/mydomain.com"
    Then save the file - in nano, push CTRL+X, push the y key, then push the ENTER key.

    Once your configuration file as been changed, you will need to restart httpd for the changes to take effect. Run the following code to restart httpd:
    Code:
    service httpd restart
    Now you're done!

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers