Welcome Guest, Not a member yet? Register   Sign In
DNS redirection
#1

[eluser]tisoysasugbo[/eluser]
Hi Guys,

I need to ask if this possible in codeigniter.
i have name1.domain.com point to a domain.com/name1 ?

I'm not sure how to handle this.
Appreciate for any idea.

Thanks,
#2

[eluser]frist44[/eluser]
DNS redirection would be on a DNS server itself, which can be done depending on who hosts your DNS. If you're talking about hitting your app and then redirect the URL, this can be done with Apache's Modrewrite. You could also theoretically do it in your app, although it doesn't seem to make much sense because it would be a lot of setup for a simple thing that the former two options do very well.
#3

[eluser]tisoysasugbo[/eluser]
Thanks.

DNS i dont have any control Sad

But is it posssible in the browser you have name1.domain.com but the background domain.com/name1 but in the browser it's still name1.domain.com?
can i do this in codeigniter?




Theme © iAndrew 2016 - Forum software by © MyBB