Page 1 of 1

Two Domains

Posted: Wed 15. Mar 2006, 08:18
by brazzo74
I've got two Domains on one Server. How can i manage two different page contents with phpwcms? Do i have to install i twice?

Posted: Wed 15. Mar 2006, 08:29
by flip-flop
Hi brazzo74,
Do i have to install i twice?
For proper function: YES

Gruß Knut

Posted: Tue 25. Apr 2006, 12:43
by erodzina
Could I use 1 database fore 2 phpwcms ?? Lat's say i want to have 1 webpage and 2 domains. And i would like to subscribe both to google. So, can i install two identical phpwcms but use only 1 db. ?? or, how to manage the problem.

Posted: Tue 25. Apr 2006, 12:48
by pepe
Hi erodzina,

yes, it's possible to have different installations and only ONE db!!!


It's more a workarround than useful... but it works :wink:

Posted: Tue 25. Apr 2006, 13:03
by erodzina
I have question. In config file i'v got:
$phpwcms["site"]

and could i do something like that:
$phpwcms["site"] = "";

so that's way i don't have root adres at all, so when i will use 1 domain i will get 1 adres, and whan i go on site from another domain it won't redirect me to 1 domain name. is that's ok ?? A'm i thinking ok ?

Posted: Tue 25. Apr 2006, 13:53
by erodzina
I'm waiting. I need this answer, because i don't want to break my webpage. Sorry for writing ;)

Posted: Tue 25. Apr 2006, 14:07
by flip-flop
Hi,

I think that´s a way:

Code: Select all

$phpwcms["site"]              = "http://".$_SERVER['SERVER_NAME']."/";
Gruß Knut

Posted: Tue 25. Apr 2006, 14:28
by erodzina
wow, it's working so now I have two domains under one phpwcms and i don't need to install two phpwcms under one db. THANK's You'r the best :)

now, i can put other domain to google too :) :) COOL