How to auto generate php page on server
<p>I want to prepare site where I want to list all domains on mainsite.com and when I click on any domain like dom1.com, I want it to redirect to mainsite.com/dom1.com where form will be displayed so visitor can make inquiry about purchase of this domain. </p>

<p>Server: IIS with PHP-MySQL support</p>

<p>I am confused for following thing so please help me to go ahead in right direction.</p>

<p>1) For each domain, how to auto generate php page like mainsite.com/dom1.com or mainsite.com/dom2.com or mainsite.com/dom3.com so each page will have info for that selected  domain only.</p>

<p>Thank you in advance,
KRA</p>
