You need to Register for free and Login to post a message in the forum.

Forum

How to change primary domain?
Last Post 2010-03-11 07:39 AM by aventhika. 7 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Patrick RyanUser is Offline
Nuker
Nuker
Posts:16

--
2010-01-14 06:25 PM  
I've searched, searched, and searched some more. Does anyone know of a way to change the primary domain in dotnetnuke?

For example.

You start a website and install it on the domain: mywebsite1.com
Then you create a domain alias called: mywebsite2.com

You add that alias under ADMIN in dotnetnuke.

Is it possible to later change the primary domain to mywebsite2.com, and make mywebsite1.com the alias?

Any help would be greatly appreciated.

- Patrick
Néstor SánchezUser is Offline
Nuke Newbie
Nuke Newbie
Posts:3

--
2010-01-15 03:41 PM  
Enter the website with the second domain alias, delete the first, then remove from IIS/DNS/Firewall, etc
Néstor SánchezUser is Offline
Nuke Newbie
Nuke Newbie
Posts:3

--
2010-01-15 03:51 PM  
Missed the change order spec, you should be able to reorder. What version of DNN do you use?
Patrick RyanUser is Offline
Nuker
Nuker
Posts:16

--
2010-01-15 04:14 PM  
DNN 5

I'm not sure I truly understand your process, dealing with IIS.
Néstor SánchezUser is Offline
Nuke Newbie
Nuke Newbie
Posts:3

--
2010-01-15 09:09 PM  
Since you want to keep the aliases, but have them in different order: 1. First login to the site using alias "B" 2. Delete alias "A" clicking the red x. 3. While still using the "B" alias, add alias "C" with the same info alias "A". As long as Alias A and B show up as host header in the IIS site, you should not have problems.
Patrick RyanUser is Offline
Nuker
Nuker
Posts:16

--
2010-01-20 03:03 PM  
In my hosting provider settings I have two domains listed.

Domain A
- Domain B as alias

In dotnetnuke I have the two domains listed in the same manner.

I want to change it to where domain B is the ONLY domain and delete Domain A completely from the hosting provider and dotnetnuke.
Is this something my hosting provider needs to help me with? Dealing with IIS? etc?

Thank you for your help.

Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-01-20 07:36 PM  
If you delete domain A from the portalalias table, then DotNetNuke will quit servicing requests for that domain.

You should probably also configure IIS to do something with requests for the domain that you are removing.  Also consider DNS implications.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
aventhikaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2010-03-11 07:39 AM  
Hi it is an easy ,for that change visit here ,i am using this site only for my change.All the Best.
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

RE: DNN site automatically redirects to a different domain name. by imran shaikh
Thanks for the reply joe this is my portalalias table entries 2 0 localhost/tradeupgrade -1
RE: "Good" hosting providers by ejcullen rene
informative!!!
RE: URL Master Module doesn't work on IHostASP hosting by ejcullen rene
informative!!!
RE: shared web hosting by ejcullen rene
informative!!. i got hosting service from http://www.thewebpole.com/ my hosting company offers you
RE: iPhone website logo in DNN root directory by JohnnieD
I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
iPhone website logo in DNN root directory by JohnnieD
I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
RE: Fixed size container by Joseph Craig
Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
Fixed size container by Aggiedan97
I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
RE: DNN 6.1 app_offline.htm by Joseph Craig
If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
RE: DNN site automatically redirects to a different domain name. by Joseph Craig
Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
DNN 6.1 app_offline.htm by Dave Hassall
Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
RE: DNN site automatically redirects to a different domain name. by imran shaikh
Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
Enforce Terms Tutorial Update by Vistalogix Corporation
I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
RE: Best Practices for Modifying a Custom Module by Joseph Craig
Start up the development website, then install the module using the package that you have. Then, yo
Best Practices for Modifying a Custom Module by schilders
Good Morning, I'm needing to modify a custom built module created by another developer targeted f
RE: Admin menu problem by alireza arabiyan
hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
RE: Admin menu problem by Joseph Craig
Yes, that is what you should have done. What is the URL for your home page? What is the URL for
RE: Admin menu problem by alireza arabiyan
hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
RE: Admin menu problem by Joseph Craig
How did you move it? Have you added an entry in the portalalias table for the site's domain name?
RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
Set up a user with dbo privileges and set the connection string for that user, rather than using Win
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds