Skip to main content

[webtier] Re: How to relocate docroot

1 reply [Last post]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jan Luehe

On 01/29/09 11:38, wrote:
> Okay so I was a able to reconfigure the docroot location by modifying the domain.xml file.
> Inside of the 'virtual server' tag I modified the 'docroot' property with the value of the new path.
> I wonder if there is a way to do this using the admin gui or the through the asadmin command line?

Yes, you can change a virtual server's docroot through the admin gui or
the CLI.

For example, to change the docroot of the virtual server with id
"server" through the admin gui,
navigate to this virtual server (Configuration->HTTP Service->Virtual
change the value of its docroot filed, and save your changes.

To change the docroot of "server" via the CLI, issue this command:

asadmin set

Notice that any changes to the docroot will take effect immediately,
i.e., don't require
a server restart.


> [Message sent by forum member 'bryany' (bryany)]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail: