CodeIgniter Forums
how to prefix "blog." in front of domain name? the goal is to have => blog.mysite.com - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how to prefix "blog." in front of domain name? the goal is to have => blog.mysite.com (/showthread.php?tid=48823)



how to prefix "blog." in front of domain name? the goal is to have => blog.mysite.com - El Forum - 01-30-2012

[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



how to prefix "blog." in front of domain name? the goal is to have => blog.mysite.com - El Forum - 01-30-2012

[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)


how to prefix "blog." in front of domain name? the goal is to have => blog.mysite.com - El Forum - 01-30-2012

[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/basecamp-style-subdomains-with-codeigniter/