<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — One installation with multiple subdomain]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4618&amp;type=atom" />
	<updated>2013-12-28T15:21:51Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4618</id>
		<entry>
			<title type="html"><![CDATA[Re: One installation with multiple subdomain]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18830#p18830" />
			<content type="html"><![CDATA[<p>Thanks to all for your resoureceful and advice about this topic. This post will help me a lot to take the right decision.</p><p>Good luck to all and wishing all of&nbsp; you a great year 2014.</p>]]></content>
			<author>
				<name><![CDATA[uzumakifahim]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17773</uri>
			</author>
			<updated>2013-12-28T15:21:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18830#p18830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: One installation with multiple subdomain]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18822#p18822" />
			<content type="html"><![CDATA[<p>1. Create an FA instance in one folder not allocated to any domain.<br />2. Symlink the files and folders to each of the domains&#039; web roots.<br />3. Keep a separate database and config file in each domain web root folder.<br />4. Keep a separate company folder for each company in each domain but keep the default company 0 symlinked in all domains so as to be able to administer it from each domain as well.<br />5. Make necessary entries in each domain&#039;s virtual host fragments<br />6. Make an archive of all symlinked files for rapid creation of FA instance in each new domain.</p><p>This can be the basis for an FA Farm.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-12-27T16:08:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18822#p18822</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: One installation with multiple subdomain]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18819#p18819" />
			<content type="html"><![CDATA[<p>Not sure why you want subdomains, but assuming you want to provide access to different companies under different subdomains (client1.domain.tld, client2.domain.tld etc.) I think it would be best to install separate FA instances, configuring each with a separate database.</p><p>If you&#039;d rather use one database with multiple companies, you should be able to point all the subdomains to the same FA instance and edit the login page to select the company based on the URL of the request. That would probably expose the other companies through the backup script, though. Not to mention the mess that you would face if one client decided to restore the entire database, overwriting whatever had been entered by the other clients.</p><p>For a really complicated solution, you might be able to share the code through some file system trickery, while keeping separate configuration files. But that would most likely end up being more confusing than anything else.</p><p>Unless you had enough clients/companies to justify the effort, I would go with separate instances.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2013-12-27T15:03:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18819#p18819</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: One installation with multiple subdomain]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18818#p18818" />
			<content type="html"><![CDATA[<p>I think the easiest way is to use a redirect from your subdomain to the main domain and not to make separate installations. Create a .htaccess file with the following text and upload it to de mainfolder of your subdomain:</p><div class="quotebox"><blockquote><p>Redirect /directorynameofthesubdomain http://www.yourdomain.nl/maindirectoryofmaindomain</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[erwindebruin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4582</uri>
			</author>
			<updated>2013-12-27T11:50:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18818#p18818</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[One installation with multiple subdomain]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18813#p18813" />
			<content type="html"><![CDATA[<p>I&#039;ve installed FA on a web server with a domain. Now I want to use single installaton on multiple sudomains under the mother domain. Is that possible to assign multiple sub domain against one installation? If so, how can I do that?</p><p>Experts pleaase help. Thanks in advance.</p>]]></content>
			<author>
				<name><![CDATA[uzumakifahim]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17773</uri>
			</author>
			<updated>2013-12-27T04:55:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18813#p18813</id>
		</entry>
</feed>
