subdomain Create subdomain (cPanel)

  1. Requirements
  2. Usage
  3. Resources

Subdomain is extensions to create subdomain but not using cpanel interface. You can customize it

Requirements

requirements of using this extension (e.g. Yii 1.1 or above)...

Usage

  1. Extract the downloaded file to your application extensions directory
  2. Just place the following code inside your controller file:
Yii::import('ext.subdomain.Subdomain');

$sb = new Subdomain('sopwer.net'); //youdomain

$sb->setCpanelInfo('user_cpanel','pass_cpanel'); //user & pass cpanel

$sb->setCpanelSkin('x3'); //skin

$sb->setSubdomain('ramdani'); //subdomain name

$sb->execute();

Resources

Don't hesitate to contact me if there are any errors.

1 0
4 followers
615 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Networking
Developed by: ramdani
Created on: Jul 10, 2012
Last updated: 12 years ago

Downloads

show all

Related Extensions