tsimtung.com 尖東網絡
Check Domain
Hotline: (852) 27855838
Sign up now!
Contact us / Leave a message
Email: info@tsimtung.com
Paypal ID: support@tsimtung.com
Sub-Domain Setup
Q: How to configure a sub-domain to work?

A: Before the explanation, we need to remind you that sub-domain name is an advanced fucntion. It is only recommended for advanced users. If you are beginner, please consult more information about sub-domain name from reference books.

And please be noted that the sub-domain name service is an optional service which is only available for those who had applied.

Here are the steps:

1) Create a folder for one of sub-domains in your root directory (ie, web) and name it as your sub domain name, and then create a file called htaccess.txt in "web" by Notepad which contains the following content:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^test.yourdomain.com$
RewriteCond %{REQUEST_URI} !^/test/
RewriteRule (.*) /test/$1
Domain Name: example.com
My Sub-domain name will be: test.example.com
Folder for the sub-domain name: test
RewriteEngine On
RewriteCond %{HTTP_HOST} ^test.example.com$
RewriteCond %{REQUEST_URI} !^/test/
RewriteRule (.*) /test/$1

Then upload the htaccess.txt via FTP to the "web" directory, and rename its file name htaccess.txt into .htaccess

All your sub-domain name website files will be placed on the folder you have created, on above case, the sub-domain name: test.example.com website content should be placed on the folder called test.

1) The .htaccess MUST place in the "web" directory.

2) The syntax "RewriteEngine On" DO NOT need copy again in further sub-domain name settings.

Now your sub-domain name should work.

Apply Now Should you have any questions, please call us at: 27855838, 27855839, 27855843 or send us an email: info@tsimtung.com