Subdomain creation |
[eluser]thas[/eluser]
hi all, I am new to this forum. i have no idea to create subdomain using htaccess . if anybody know please help me. the extract url is: http://domain.com/index.php/login/defaul...ubdomain/0 I want to write like it http://subdomain.domain.com Any help is greatly appreciated !!!! :-)
[eluser]CodeIgniterStep.Com[/eluser]
[quote author="thas" date="1284546777"]hi all, I am new to this forum. i have no idea to create subdomain using htaccess . if anybody know please help me. the extract url is: http://domain.com/index.php/login/defaul...ubdomain/0 I want to write like it http://subdomain.domain.com Any help is greatly appreciated !!!! :-)[/quote] If you can edit DNS record you can use this solution.
[eluser]snortop[/eluser]
hmm maybe to hasty, just sounded similar to the other
[eluser]thas[/eluser]
my code is: Options +FollowSymLinks RewriteBase /subdomain/ RewriteCond %{HTTP_HOST} !www.firstpage.gr$ [NC] RewriteCond %{HTTP_HOST} ^(www.)?(fir_([0-9]+)).firstpage.gr [NC] RewriteRule (.*) index.php/login/defaultpage/$1/0 [NC,QSA] But it is not working. please help me :down:
[eluser]trumpetnl[/eluser]
question: are you in control of your dns? if so, simply solve it by creating the appropriate zone.
[eluser]thas[/eluser]
how to solve this problem. how to control DNS. please help me
[eluser]trumpetnl[/eluser]
try this website. It helps you create .htaccess files :-) http://cooletips.de/htaccess/ |
Welcome Guest, Not a member yet? Register Sign In |