How to change home directory?

3 posts / 0 new
Last post
#1 Sat, 05/26/2012 - 06:33
Thanesh

How to change home directory?

Hi,

I have transferred a standalone server file to my VHost server.

In standalone server the website directory was /mnt/opt/lampp/htdocs/mydomainname.

Then when created a new virtual machine in VHost server via virtualmin it shows home/mydomainname.

Do I have to transfer all the content from /mnt/opt/lampp/htdocs/mydomainname to

/home/mydomainname

OR change directory to /mnt/opt/lampp/htdocs/mydomainname in virtualmin.

If yes, how to change it. Will my website work?

Mon, 05/28/2012 - 09:13
andreychek

Howdy,

Virtualmin is setup by default to use /home for websites -- it's simplest to go with that default, as there's a lot of things that need changed to use a different path.

So my recommendation would be to create a new Virtual Server (which would make an account in /home/username -- and then to place your website files in /home/username/public_html.

-Eric

Mon, 05/28/2012 - 22:25
Thanesh

Thanks for the kind advice Eric..:-)

Topic locked