Good day! Tell how to make a link like ?

    1 answer 1

    Excellent manual with examples of

    through htaccess you can, for example, like this:

    How to host multiple sites on a single shared hosting?

    To place two or more sites on the same virtual hosting, contrary to the number of domains allocated to you by the tariff plan, you need to write the following lines in the .htaccess file:

     RewriteEngine On RewriteRule ^newdirectory/ - [L] RewriteCond %{HTTP_HOST} (www.)? [NC] RewriteRule (.*) newdirectory/$1 [L] 


    newdirectory / - the folder in which the second site will be located - the domain for which we do the redirection

    Please note that in this case you will have a single mail account. Those. if you have a mailbox, then after connecting the domain , a second name appears at the mailbox - And when creating any new mailbox (for example, info), two names are automatically assigned to it - and