Jump to content

subdomains


ted_chou12

Recommended Posts

i don know where this should go, so I posted it here, this is a definition of sub-domain:

Sub domain

Lets say your domain is mysite.com.

You install a Message Board and put in in a directory called mysite.com/board/.

You can turn the directory board into a sub-domain by adding it as a sub-domain from your Control Panel.

Now you can access your Message board as either  mysite.com/board OR board.mysite.com

This costs you nothing and is free.

However, what actually gets changed? is it the .htaccess file which controls this? or is it other things that takes care of this redirection? any help greatfully appreciated.

Ted

Link to comment
Share on other sites

If you have access to the httpd.conf file, yes, you can write to it with php.

 

You may also be able to write a php handler which will catch this subdomain and redirect. All oyu need is a wildcard entry (*.yourdomain.com) in the A record of your DNS.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.