Recent Topics

1 Dec 18, 2010 22:24    

My b2evolution Version: 3.3.3

Hi,

I have setup a two blogs using b2evolution 3.3.3, which are reachable via different domains. The "main" domain is www.demmer.eu which also directs to the first blog.
I set up a second (virtual) domain at my ISP domschnecken.de pointing to the same directory as demmer.eu. To access to second blog under www.domschnecken.de I followed the documentation for multiple domains:
http://manual.b2evolution.net/MultipleDomains

It works fine (after some hazzle with some cookies) except one thing:

Depending on the URL I enter in my browser either blog is displayed:

http://www.demmer.eu gives blog1 (demmer.eu), fine
http://demmer.eu gives blog1 (demmer.eu), fine
http://www.domschnecken.de gives blog2 (domschnecken.de), fine
however
http://domschnecken.de -> blog1 (demmer.eu) , not the right one

Is there any way to also route the shortened URL domschnecken.de to the second blog? It is probably some change in .htaccess necessary but I have no clue what to change there.

Thanks,
krimskrams

P.S.: Here is what I added to .htaccess in my root folder:

<IfModule mod_rewrite.c>
RewriteEngine On
# This line may be needed:
RewriteBase /
# Redirect anything that's not an existing directory or file to index.php:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /index.php [L]
</IfModule>

2 Dec 19, 2010 01:37

Make sure you have a DNS entry like A or CNAME for www subdomain on domschnecken.de

You can't control it .htaccess file

3 Dec 19, 2010 21:39

Hi,
unfortunately I cannot change the web server settings, it is only accessible through a web frontend of my provider 1&1.

However I think, I would need to define an additonal baseurl for the domschnecken.de domain, so that b2evolution accepts both entries www.domschnecken.de and domschnecken.de for the same blog.

I re-defined the absolute URL path for domschnecken.de from http://www.domschnecken.de to http://domschnecken.de ... now the behaviour is exactly the other way round.

Is there any chance to define two baseurl's for the same blog????

krimskrams

4 Dec 28, 2010 16:47

Hi,
eventually I found out I can define CNAME entries at my provider:
I defined an entry for www.domschnecken.de as CNAME for the domain domschnecken.de, nsllokup now results in:

> domschnecken.de

Non-authoritative answer:
Name:	domschnecken.de
Address: 212.227.193.158
> www.domschnecken.de
Server:		9.64.163.21
Address:	9.64.163.21#53

Non-authoritative answer:
www.domschnecken.de	canonical name = domschnecken.de.
Name:	domschnecken.de
Address: 212.227.193.158

I changed the baseurl of the blog to http://domschnecken.de hoping that the new CNAME entry would make www.domschnecken.de being routed to the correct blog.

Unfortunately ... no change, http://domschnecken.de now delivers the correct blog while http://www.domschnecken.de has the problem of being routed to the default blog demmer.eu.

Any ideas? Would an upgrade to v4.0.3 help???

Bye,
krimskrams

6 Jan 05, 2011 16:18

Hi,

I used the second version of the Rewrite statement and now verything works!!!!

Great and thanks a lot,

krimskrams


Form is loading...