Change home folder for a domain  [SOLVED]

Locked
kurgans
Posts: 16
Joined: Mon 2. Nov 2020, 12:57

Change home folder for a domain

Post by kurgans »

Good morning to all

First I apologize to everyone for my bad English, since I only speak Spanish and I use a translator that I don't really know how to interpret my words.

Second to thank this community for their work, which I am testing .. and I have really felt quite comfortable and friendly with its use.

It has been and is a good experience .. Thank you all, for those who develop, contribute and use to keep this project alive

Although everything is quite friendly .. I have been looking for the option of being able to load a project in Laravel and to be able to define the home / users / www / public folder as the starting system of my application

I have not been able to find how to do this ... some of you can help me a little to do it

Thank you very much to all
nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Change home folder for a domain

Post by nikko »

You can use the domain-settings to point the domain to your favorite destination-directory.
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
kurgans
Posts: 16
Joined: Mon 2. Nov 2020, 12:57

Re: Change home folder for a domain

Post by kurgans »

Good afternoon everyone

Thank you for your interest in my problem to be able to help me, I think I have not managed to explain myself well .. or I do not see the option that you recommend

I can put the mount point of my domain as in any favorite folder as you have indicated, but my main problem is not the mount point to put myproject.tld files.

What is not really located is the way in my folder structure to indicate which folder is the root to start my web project

As you can see in my apache configuration .. I can't find an option to change this parameter from the same panel

Example

# www.myproyecto.tld
<VirtualHost *: 443>
ServerName www.myproyecto.tld
ServerAdmin followings@myproject.tld
DocumentRoot "/ home / users / myproject / www /" -> Change this to DocumentRoot "/ home / users / myproject / www / public"
SuexecUserGroup "project" "project"

Thank you very much for your everything
User avatar
Alexander
Keyweb AG
Posts: 3809
Joined: Wed 20. Jan 2016, 02:23

Re: Change home folder for a domain  [SOLVED]

Post by Alexander »

Hello,

What nikko wants to say is: To change the document root of a domain, just open the domain management, than click on the pen icon of a desired domain. Than a new editing window with all options for this particular domain will open. Here you can change the document root for this domain.

I have made a screenshot for you, to make it more clearer. The image shows the screen, when adding a new domain, but the options are the same, no matter if creating or editing a domain.

To stick with your example, just put "public" into the input box, marked with "2." (on the screnshot)

1.png
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
kurgans
Posts: 16
Joined: Mon 2. Nov 2020, 12:57

Re: Change home folder for a domain

Post by kurgans »

Hello good day

Ahh, perfect they had not understood the use correctly, my translator did not interpret the message of the colleague correctly ...

I'm really sorry for the mistake ...

Now if .. I have seen its function and the change in our apache file.

Thank you very much for your help

S2
User avatar
Alexander
Keyweb AG
Posts: 3809
Joined: Wed 20. Jan 2016, 02:23

Re: Change home folder for a domain

Post by Alexander »

You are welcome ;).

By the way, i can recommend https://www.deepl.com/translator for translating texts.
I experienced much better results than google translate etc.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
kurgans
Posts: 16
Joined: Mon 2. Nov 2020, 12:57

Re: Change home folder for a domain

Post by kurgans »

Okay, thanks for everything, I will follow your advice,

Greetings
Locked