Recent Topics

1 Apr 27, 2008 01:43    

My b2evolution Version:2.41
Hello. I have a VDS (Virtual Dedicated Server) and I've set up the Wildcard DNS to handle all requests like "subdomain.site.com" and transfer them to "site.com". I've added * IN A site.com. How can I transfer all requests like "someblog.site.com" to "someblog". What should I add to the httpd.conf file? Many thanks in advance for your support.

2 Apr 27, 2008 03:26

i guess you can deal with it with a simple 301 redirect in .htaccess

3 Apr 27, 2008 04:53

how can i do it?
sorry my bad English =)

4 Apr 27, 2008 16:43

i dont want to mislead you, but afaik subdomains are subfolders you have created, so simply create a .txt file enter modifying these


Redirect 301 /mysubdomain1 http://www.mydomain.com
Redirect 301 /mysubdomain2 http://www.mydomain.com


then rename it to .htaccess

or you can use this too:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^blog.mysite.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.blog.mysite.com$
RewriteRule ^(.*)$ http://www.mysite.com/blog/1 [R=301,L]


Form is loading...