how we can use url rewrite to generate and get url like google provide cutome website url
<p>I need to make dynamic website like google provide services of develop and design on line website,
I have completed all things of database and design, but how could i get the url at loading time
of the web application
if page not found then 404 error acre</p>

<p>in google</p>

<p>the website url would be www.website.google.com/ourlwebsitename
here ourlwebsitename is as a example of user created name.
same thing I want to do.</p>

<p>www.mywebsite.com/userchiceaname</p>
