Welcome Guest, Not a member yet? Register   Sign In
running subdomain problem
#1

[eluser]Bigil Michael[/eluser]
Is it possible to run the code from main domain while url is calling subdomain.

that is the url is like this abc.domain.com or cds.domain.com
but it must run the code from root directory....

Is it possible?????
Any suggestions or answer please????????
#2

[eluser]Bigil Michael[/eluser]
help???
#3

[eluser]Aken[/eluser]
This is something you'd set up using DNS or .htaccess. Contact your web host for more info on how to do this, because it can vary depending on how they set things up.
#4

[eluser]Bigil Michael[/eluser]
can u post the .htaccess code to do this???
#5

[eluser]Aken[/eluser]
[quote author="Aken" date="1345096777"]This is something you'd set up using DNS or .htaccess. Contact your web host for more info on how to do this, because it can vary depending on how they set things up.[/quote]
#6

[eluser]wiredesignz[/eluser]
@Aken, you're being a penis again. Stop it.
#7

[eluser]Bigil Michael[/eluser]
thanks for your replay

my problem solved by following these links.
Code:
http://phpcreating.blogspot.in/2010/07/create-dynamic-subdomain-using-mod.html
http://www.mediacollege.com/internet/server/apache/mod-rewrite/subdomains.html

#8

[eluser]Bigil Michael[/eluser]
one more problem.
When I change the url the session will become empty.
I want to keep the session up to the end because customer login is already implemented.
can anyone help me????

thanks in advance.




Theme © iAndrew 2016 - Forum software by © MyBB