Jump to content

weblog service like blogger.com or others


recycle_bin

Recommended Posts

Hi all,

 

I’m an intermediate in web development and specialized in php programming. About four month ago I was decided to starting a mini-weblog service like blogger or others. In this four month I’m reading many articles and some books that I think can help me, but anything can’t answer to my questions.

 

For example, I don’t know what sub domains handled in automatically user registration in these systems (e.g. myname.blogservice.com). Physical directory was created and then application files copied there (very bad idea?!) or it’s logically and in act this sub domains are redirected to some thing like this: users.blogservice.com/blogs.php?id=myname

 

Another question is about user domains on this service. For example in some blog services you can use your own domain, then www.myname.com was translated to myname.blogservice.com, but anyone can’t feel this.

 

Anyways, now I’m reading some thing about apache domain and sub domain management, mod_rewrite and .htaccess tips and tricks (I think may be useful) and DNS managements. So I hope you can help me about the design and architecture of this project and I hope this topic be useful for everybody there.

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/92087-weblog-service-like-bloggercom-or-others/
Share on other sites

For example, I don’t know what sub domains handled in automatically user registration in these systems (e.g. myname.blogservice.com). Physical directory was created and then application files copied there (very bad idea?!) or it’s logically and in act this sub domains are redirected to some thing like this: users.blogservice.com/blogs.php?id=myname

 

Catch-all domains are your answer.

 

1) *.yourdomain.com forwards to "yourdomain.com" root dir.

2) Then in that Dir you have a .htacces file that makes your system treat sub.yourdomain.com as yourdomain.com?member=sub

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.