Welcome Guest | Login

foreign domain routing

Hi,

I'am developing a small CMS where a user can create his own website, and i want to allow the user to specify a domain so that his website is run under his domain. I am using the foreign domain routing to achieve this, so to test it out I created a cname for the domain "agilisweb.net" with a alias of "www" and pointing to "agilisweb.com" (where the CMS is hosted.)

When I access the website through a subdomain (one example is innku.agilisweb.com) the website runs fine, but when i try to access it through the foreign domain (in this case www.agilisweb.net or agilisweb.net) I get a "Application Error"

thanks in advance.

2008-12-02 05:14 PM

What is the production.log entry for this error?  Where is the error occuring, exactly?

2008-12-03 01:42 AM

There is no error on the production log. When I hit the page it does not registers it. And there is no error on the cPanel Error log either.

The error is ocurring only when i try to visit the website through the 'agilisweb.net' domain.

And I verified the status of the www.agilisweb.net CNAME and it is correctly pointing to agilisweb.com

thanks

2008-12-03 09:55 AM

Hi - Could you try pointing the A record of www subdomain to the server IP and add this subdomain to as a parkdomain via cpanel and check this.

2008-12-03 07:24 PM

HostingRails Support
Hi, how can i park a domain on a directory other than the public_html?

because the application i am trying to access is configured a second app.

2008-12-04 06:29 PM

Hi - You can also add the park domain for your addon domain. Please check the park domain section in your cPanel you will get a drop down to select the domain. Thank you

2008-12-04 08:08 PM

HostingRails Support
I dont see any drop down to select a addon domain. There is just a text field where you input the domain name and a Add Domain! button.

2008-12-04 08:28 PM

You can add a parked domain or a sub domain and can make it point to some where outside public_html directory, for this you need to specify the document root accordingly while adding the domain via your cPanel.

2008-12-04 08:56 PM

on the subdomain it lets you specify a different document root, but not on the parked domain.

2008-12-04 09:01 PM

Yes, you will not be allowed to specify the document root for a parked domain, but you can specify the document root while adding an addon domain and a sub domain.

2008-12-04 09:10 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!