Another option to FAQ question...

None of the options given to answer this question were satisfactory, so I came up with an alternative.

How do I make domains available before the DNS changes are made at the registrar? Or, how do I make a users website available at "http://www.mydomain.tld/customerdomain"?

Use Symlinks,

On your default apache website, make sure "follow symlinks" is enabled. This is under the "Document Options".

Also, while your their, take note of what your document directory is, for example "/usr/local/www"

Now, go to Virtualmin’s “module config” and go to “Actions upon server and user creation”.

For "Command to run before making changes to a server", enter:

[code:1]rm /usr/local/www/${VIRTUALSERVER_DOM} || continue[/code:1]
Where "usr/local/www" is your default websites document directory.

For " Command to run after making changes to a server", enter:

[code:1]ln -s ${VIRTUALSERVER_HOME}/Web/ /usr/local/www/${VIRTUALSERVER_DOM} || continue[/code:1]
Where "Web" is the folder containing the HTML files for the site (aka public_html).

Now, go ahead and create a new virtual server, or modify an existing one. Access your default website plus the domain name of the site you want to preview.<br><br>Post edited by: tuaris, at: 2008/07/09 12:18

Hello! It worked, thanks a lot! Symlinks are a a powerful tool.