CodeIgniter Forums

Full Version: how to prefix "blog." in front of domain name? the goal is to have => blog.mysite.com
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]tim peterson[/eluser]
can someone help me understand how i can prefix a word to my domain name in codeigniter.

I'd like to add something like "blog." in front of mysite.com to make blog.mysite.com.

If this is an htaccess issue, can you show what that code would look like?

thank you,
tim

El Forum

[eluser]Jason Stanley[/eluser]
You need to set up a subdomain on your hosting account. Ask your host or check your cpanel (assuming this is what you use)

El Forum

[eluser]tim peterson[/eluser]
thanks Jason,

yes i'm looking into setting up a subdomain, there is a tutorial on nettuts that looks pretty handy: http://net.tutsplus.com/tutorials/php/ba...deigniter/