1. Guarantee Web site malware removal (joomla, drupal, wordpress etc) - don't let your business get down due to virus, malware and blacklist problem.
  2. Recommended Web Hosting to help you doing business online with high performance. : Support ioncube, zend and all other hosting by default.
  3. Get free wordpress website transfer : up to 4 domains Find out more .... Click here to see other user testimonial

What I like from VDS is the system already configured by skilled tech person for running fast. Little technical knowledge needed to run it and also cheap icon smile Step by step install wpmu in VDS / VPS : setting wildcard and subdomain part 2

sucuri long Step by step install wpmu in VDS / VPS : setting wildcard and subdomain part 2

In last post I talk about setting wildcard and subdomain in minivds system.

A few things need to consider are :

1. Apache httpd.conf file

2. named zone where record for our domain created

From httpd.conf the most important things that make wpmu work for subdomain is :

ServerAlias *.ngeblog.cn

you can use a.ngeblog.cn, xyz.ngeblog.cn etc for subdomain and its job of apache to translate it into proper view.

Since minivds using isplite control panel system the dns process and the exact record not shown, I must use ssh access to see it.

cd /var/named/etc/namedb/master

ls

empty.db             localhost-forward.db localhost-reverse.db localhost-v6.rev     localhost.rev        ngeblog.cn

view content of ngeblog.cn using easy editor :

ee ngeblog.cn

$TTL    3600
ngeblog.cn.     IN      SOA     ns1.minivds.com. root.blogasik.com. (2008103003 10800 3600 604800 86400)
ngeblog.cn.     IN      NS       ns1.minivds.com.
ngeblog.cn.     IN      NS       ns2.minivds.com.
ngeblog.cn.     IN      MX      10 mail
ngeblog.cn.     IN      MX      20 mail
ngeblog.cn.     IN      A        82.146.51.161
ftp     IN      A        82.146.51.161
mail    IN      A        82.146.51.161
smtp    IN      A        82.146.51.161
pop     IN      A        82.146.51.161
ngeblog.cn.     IN      TXT      “v=spf1 ip4:82.146.51.161 a mx ~all”
*       IN      A        82.146.51.161

As you see the wildcard section in this record is :

*       IN      A        82.146.51.161

* means subdomain is fine, but if you wanna to change it into

*.ngeblog.cn IN      A        82.146.51.161

also fine

just make sure to restart dns system.

root@ngeblog:/var/named/etc/namedb/master# /etc/rc.d/named restart
Stopping named.
Waiting for PIDS: 5897.
Starting named.
root@ngeblog:/var/named/etc/namedb/master#

Till this part what I’ve done so far are :

  • add user into vds
  • add domain
  • setting wildcard
  • setting dubdomain
hg Step by step install wpmu in VDS / VPS : setting wildcard and subdomain part 2

Related posts:

  1. Step by step install wpmu in VDS / VPS : setting wildcard and subdomain part 1
  2. Step by step install wpmu in VDS / VPS : Put wpmu inside vds
  3. Step by step install wpmu in VDS / VPS : add domain
  4. Step by step install wpmu in VDS / VPS : Installation Process
  5. Step by step move drupal from localhost to drupal hosting : AddOn Domain Setting

Sorry, the comment form is closed at this time.

   
© 2011 Hosting Formula Suffusion theme by Sayontan Sinha