default index page while creating a new virtual server

I put public_html/index.html under /etc/skel

such that every new created virtual server will have a index page instead.

Right now, the content of index.html is just a simple text, “Your domain works!!”

How could i dynamic put a domain name in the index.html ?

say, Your domain, works!!
say, Your domain, works!!
say, Your domain, works!!

any possible solution on this matter ?

Don’t be so impatient, it’s weekend! :slight_smile:

Check out System Settings -> Server Templates -> Home directory : Substitute variables in contents. Means: you can use the usual Virtualmin template variables in your skel files. Just put e.g. ${DOM} where you wish the domain to appear.