Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Domand and Subdomain Name Issues on GoDaddyDomand and Subdomain Name Issues on GoDaddy
Previous
 
Next
New Post
4/25/2009 11:20 AM
 

Let me preface this email by saying that I have tried to research this issue, but have not found a solution that is workable. Hopefully someone can help me figure this out so I don't have to rip my hair out any further. That said...

I have an unlimited Windows hosting account setup on GoDaddy for my own company's website, we'll call that DomainA.com. I do website development for multiple advertising agencies, and projects for their customers. To "mask" my relationships with clients, I registered another domain we'll call DomainB.com. I added this domain to my hosting account and point all traffic for www.domainb.com to a subfolder called /www.domainb.com. Now, because I have multiple clients to handle, I created subdomains under domainb.com. As an example, I have a subdomain for Client 1 with the URL of client1.domainb.com that points to the folder /www.domainb.com/client1. So now, I can tell clients that all their projects can be accessed under the URL http://client1.domainb.com.

Now here is when the problem arises. I have staged a DNN website from my local development machine into the physical directory /www.domainb.com/client1/customera, which is accessible through the URL http://client1.domainb.com/customera. The entry in the PortalAlias table reflects this same URL for the parent portal. What is happening when i load the site is the URL changes to http://client1.domainb.com/www.domainb.com/client1/customer1. If I manually change the URL to http://client1.domainb.com/customer1 the portal loads fine, but any time I click on a link it still refers to http://client1.domainb.com/www.domainb/client1/customer1. This wouldn't be a problem on a staging site except for the fact that when you upload images and add them to pages, the url of the images looks something like this: http://client1.domainb.com/www.domainb/client1/customer1/Portals/0/image.jpg. Once I move the site to its final location, all the image links are broken. Additionally, I don't want the URL to show which physical directory on the server the files are in.

I am truly at a loss for a solution to this. In the GoDaddy control panel, the following IIS7 settings are defined:

/ (application root)
/www.domainb.com (application root)
/www.domainb.com/client1 (application root)
/www.domainb.com/client1/customer1 (application root)

When I add http://client1.domainb.com/www.domainb.com/client1/customer1 as a portal alias, it works. But once I remove it, I end up in an endless redirect loop. Either way, the urls and images that are linked in modules all end up broken because they aren't pointing properly. Somewhere along the line, the URLs are getting rewritten or redirected from client1.domainb.com/customer1 to client1.domainb.com/www.domainb.com/clien1/customer1 and I am at a loss to figure it where or why.

Any and all help or pointers would be GREATLY appreciated. I don't ask for help often as I try to research these issues myself first, but the solution is escaping me!

 
New Post
4/30/2009 12:15 PM
 

Has anyone else experienced this problem or found a work-around? Really could use some sage guidance...

THANKS in advance for the help!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Domand and Subdomain Name Issues on GoDaddyDomand and Subdomain Name Issues on GoDaddy


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out