LemonStand Forum: Subdomains - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Subdomains

#1 User is offline   temma2k2 

  • Website Developer
  • PipPipPip
  • Group: Members
  • Posts: 87
  • Joined: 14-January 10
  • LocationDarlington, United Kingdom

Posted 09 March 2010 - 01:19 AM

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
0

#2 User is offline   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 3,330
  • Joined: 31-October 09

Posted 09 March 2010 - 03:12 PM

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

#3 User is offline   temma2k2 

  • Website Developer
  • PipPipPip
  • Group: Members
  • Posts: 87
  • Joined: 14-January 10
  • LocationDarlington, United Kingdom

Posted 10 March 2010 - 01:06 AM

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
0

#4 User is offline   lecoder 

  • Member
  • Group: Members
  • Posts: 17
  • Joined: 16-March 10
  • LocationPerth, Australia

Posted 16 March 2010 - 05:35 AM

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
0

#5 User is offline   temma2k2 

  • Website Developer
  • PipPipPip
  • Group: Members
  • Posts: 87
  • Joined: 14-January 10
  • LocationDarlington, United Kingdom

Posted 16 March 2010 - 05:44 AM

Quote

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users