Welcome Guest, Not a member yet? Register   Sign In
2 Websites, 2 Domains, Same codebase
#9

[eluser]icomefromthenet[/eluser]
I'm in the same boat now, the two easiest ways I found to configure apache for multiple named virtual hosts, (hard to maintain) with a wild card in the ServerAlias, like '*.localhost.com'or use ModAlias to map subdomain to directories. If you need alot of flexibiliy try mod-rewrite.

About the paths, you would need to set both the system and application paths in all index.php in the setup above should be set to (../../application),(../../system)


Messages In This Thread
2 Websites, 2 Domains, Same codebase - by El Forum - 05-15-2010, 08:23 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-15-2010, 08:33 PM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-16-2010, 12:29 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-16-2010, 06:53 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-17-2010, 03:22 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-17-2010, 07:28 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-17-2010, 07:44 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-17-2010, 08:39 AM
2 Websites, 2 Domains, Same codebase - by El Forum - 05-17-2010, 05:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB