The MU forums have moved to

Apache Plesk Newbie Help (4 posts)

  1. sickstrings
    Posted 18 years ago #

    I'm trying to get MU tried out for our site but unfortunately I'm stuck at the highest level - trying to get access to the conf to setup vhost. I am the administrator and owner of the server.

    I believe I need to be "at root", or logged in as root? I'm not sure how to do this. I have a virtual dedicated server, but I don't know much about it, so I'm hoping someone can help me out.

  2. Delbert
    Posted 18 years ago #

    If I cover stuff you already know, please forgive me. There are bound to be other ways of doing these things and if somebody can point me to quicker and more efficient ways then I'd be grateful.

    You should have had a root password from your host provider. With this you will be able to login to a shell. (Not sure about this? Easier from Linux, just type ssh yourdomain.tld into a console window; using windo$e, download PuTTY and install it, put in your server details and connect to port 22. Login with un root and pw whatever. I'm fairly sure you then ought to su to another user - could someone confirm this? I could be wrong).

    Once you're in, you'll want to change the vhgost file for the relevant account.

    cd /home/httpd/vhost/your.domain.tld/conf
    vi vhost.conf

    then do the necessary changes (to start inserting text in vi, hit the i key. When you're finished, press escape and do :wq enter).

    If you need to alter apache config, go to

    vi httpd.conf.

    Make sure you do a copy before you edit anything.

    That ought to get you going.

  3. sickstrings
    Posted 18 years ago #

    This helped a lot. I was able to login.

    Next, I'm getting an error.

    This is what I have in my Virtual Hosts

    I have my real domain name in there instead of "blahname"


    order hosts,bind
    <VirtualHost *>
    ServerAlias *


    This isn't working, because when I try to ftp through my, which I regularly do, it now fails. I get this error:

    /etc/host.conf: line 2: bad command `<VirtualHost *>'

    Where did I mess up? Is that first line "order hosts,bind" OK to leave there? That was the only thing in the host.conf fild before.

  4. bambam4479
    Posted 18 years ago #

    If you made a backup of your host.conf put that back as that is not the file you need to update with Plesk. What you need to update or create is the vhost.conf. See this in the Plesk FAQs.

    Here's what my vhost.conf looks like:

    ServerAlias *

    <Directory /$HTTPD_VHOSTS_D/>
    AllowOverride FileInfo

About this Topic

  • Started 18 years ago by sickstrings
  • Latest reply from bambam4479