Welcome Guest, Not a member yet? Register   Sign In
Create subdomain with dynamic title in existing domain name
#1

[eluser]Was[/eluser]
i want to create url something like http://www.something.mysitename.com . here http://www.mysitename.com is the main domain name and something is dynamic,so how should we can do this ? some one guide me.

thanks
Was
#2

[eluser]LiquidFusi0n[/eluser]
Erm. I don't think this is a Codeigniter question to be fair.

Sub-domains are set up in your web server of choice and DNS not Codeigniter, although I'm sure there is a way to achieve changing it with CI, if that is what you want?

--LiquidFusi0n
#3

[eluser]Was[/eluser]
First thanks LiquidFusi0n, yes,can u please explain me how to do this in CI like http://www.something.mysitename.com

#4

[eluser]Mauricio de Abreu Antunes[/eluser]
"Sub-domains are set up in your web server of choice and DNS not Codeigniter, although I’m sure there is a way to achieve changing it with CI, if that is what you want?"
#5

[eluser]PhilTem[/eluser]
You have to configure your vhost/apache/httpd to forward all calls for pages to something.example.com to e.g. example.com/page/something. From there on you only need a controller page that takes care of the rest. But the main part is to configure your webserver appropriately. Google for something like "dynamic subdomains". I know there is a tutorial on net.tutsplus.com that covers this topic but not for codeigniter yet for some other webapp (forgotten the name).
But hey: Just be creative with your google search queries Wink
#6

[eluser]Was[/eluser]
thanx guys Smile




Theme © iAndrew 2016 - Forum software by © MyBB