1

Topic: Subdomains

Hi All,

Not sure if this is a bug but...

My site is installed on www.fakename.com and i can access the backdoor on http://fakename.com/backdoor and http://www.fakename.com/backdoor.

But i also found that i can enter any subdomain @ fakename.com/backdoor and still gain access to the backend.

I was just wondering if this was meant to be like that or not.

Cheers
Sam

2

Re: Subdomains

Hi, Sam!

No, I don't think it is a bug. This behavior can be explained by your web server configuration. If it resolves any subdomain to a same directory, you will have a same website on all subdomains. PHP scripts cannot affect this behavior. If you want to have different LemonStand installations on different subdomains, you need to configure the web server in such a way that different subdomains were resolved to different directories. And then install LemonStand to those directories.

Aleksey

Aleksey Bobkov
Follow us: Website | Twitter | FaceBook

3

Re: Subdomains

Hi Aleksey,

Again, thanks for clearing that one up, im gonna have to change my server config as i dont want subdomains all resolving to one place.

Cheers
Sam

4

Re: Subdomains

Hey Sam,
This type of behavior is normally due to a DNS wildcard or "catch all" being set up on your domain.

Though you might like a heads up on where to look in order to turn that off.

Cheers,
Peter

5

Re: Subdomains

Hey Sam,
This type of behavior is normally due to a DNS wildcard or "catch all" being set up on your domain.
Though you might like a heads up on where to look in order to turn that off.
Cheers,
Peter

Cheers for that Peter, i'll take a look on my server settings now...

Sam