Yii Framework Forum: YII 1.15 Subdomains - Expert Level - Yii Framework Forum

Jump to content

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

YII 1.15 Subdomains - Expert Level Project to create Subdomains

#1 User is offline   LasVegas-Inc 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 02-August 14

Posted 02 May 2017 - 02:33 PM

Hello,

I'm looking to create a subdomain for my users that use my Yii platform.

In the same way that when you create a new blog on Tumblr, it creates a subdomain using the specified account name for you.

e.g. - yourname.tumblr.com

I'm in belief that this is handled by the Yii URLManager? Also a requirement is a wildcard certificate [already in place].

Keep in mind that code is already in place, and you'll need to determine what impact adding subdomains at the user level will have on the code in function.

I'm looking to flat rate this project. You'll be required to RDP into the development environment to conduct actual work. All tools and code access will be available in this environment.

Thank you in advance!

Viva~LasVegas
0

#2 User is offline   Hayk Smonyan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 23-November 16
  • Location:Armenia

Posted 12 May 2017 - 03:51 AM

Hi, I am a Yii expert with 10 years experience in PHP and 6 years experience in Yii.
Here is my Skype ID hayk.simonyan25 , you can connect to me for more detailed discussion.
I know English and Russian very well , so there will be no language barrier with me.

Thanks,
Hayk
0

#3 User is offline   PeRoChAk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 589
  • Joined: 26-November 10
  • Location:Sialkot, Pakistan

Posted 28 May 2017 - 12:52 AM

Hey,

What you need is to enable wildcard and then use a rule in urlManager like that

'<username>.domain.com'=>'profiles/view'


Where Profiles is your controller and view is the action.

If you need something more, feel free to contact.

Thanks
Cheers
PeRoChAk
Cheap Domain & Hosting - Web & App Design - Web Application Development

My Page
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