PDA

View Full Version : Several subdomains


michel
03-18-2008, 12:10 PM
Hello,
I own a small webdesign company and bought 2 licenses, 1 for myself and 1 for a customer whos new website will use the EPC. One EPC is currently installed under www.mycompany.be (http://www.mycompany.be) , the other one isn't used yet.
In this way, customers can follow the development via a subdomain on my companywebsite via customer.mycompany.be
When I do the installation of the final new website on www.mycustomer.be (http://www.mycustomer.be) , I use the second license key (or for future customers buy extra licence keys).
But how can I manage to connect several subdomains to the same EPC until the final version is installed and (of course) every domain bought his own EPC license? I don't care that all the subdomains are using the same calendar during development, it is used as an example anyway.
So how do I configure the next example of my situation.

www.mycompany.be (http://www.mycompany.be) (uses license 1)
customer1.mycompany.be (uses license 1 during development and uses license 2 when installing www.customer1.be (http://www.customer1.be) )
customer2.mycompany.be (uses license 1 during development and uses license 3 when installing www.customer2.be (http://www.customer2.be) )
customer3.mycompany.be (uses license 1 during development and uses license 4 when installing www.customer3.be (http://www.customer3.be) )
etc.Extra: the calendar is installed under var/www/calendar while the subdomains are installed under var/www/html/customer1, var/www/html/customer2, ...

I don't know if my question is very clear, I hope you can help me...

Michel

Brian
03-18-2008, 12:20 PM
From your numbered examples, it appears you are using separate domains and not subdomains?

If you're using subdomains, you should have no issues doing that you want.

michel
03-18-2008, 12:34 PM
Hi Brian,
thanks for your quick reply but it's still not clear to me :ugh:

The "customer(x).mycompany.be" are all subdomains that need to use the same EPC.
The www.customer(x).be (http://www.customer(x).be) are separate domains that will use their own key. (and not in the scope of my current problem)

I installed the EPC under www/var/calendar (= www.mycompany.be/calendar (http://www.mycompany.be/calendar) )
However, the calendar under "customer(x).mycompany.be" is not working properly. E.g. the page "http://customer(x).mycompany.be/calendar/functions/popup.php?..." cannot be found.

So, in each subdomain, when clicking on the calendar, the script looks for subdomain/calendar/... while the calendar script is under domain/calendar/...
The calendar is displayed but doesn't work...

Don't know what to do about this. Can I do something about this? :confused:

Michel

Brian
03-18-2008, 10:05 PM
The location of the calendar files would depend on the configuration of your server.

If it's set up like most, you whould need to upload a full/new installation of the calendar for each subdomain.