Forum


HomeHomePremiumPremiumDevelopmentDevelopmentCreating subdomains / Visual Studio - Tutorial QuestionCreating subdomains / Visual Studio - Tutorial Question
Previous
 
Next
New Post
6/3/2015 6:23 PM
 

Hello - new subscriber here.   I just finished the tutorial where you show some of your tips for setting things up, like creating subdomains for different projects.  It appears that when you do that and change the site binding to 'dnn7.dnndev.me' it renders the templates unusable in that you can't create a new project.  I get the message - "The Web Application Project DNNModule4 is configured to use IIS. The Web Server 'http://dnndev.me/desktopmodules/DNNModule4' could not be found." - is there an easy way to manage this?

 
New Post
6/4/2015 4:38 AM
 

Hi Grant,

I don't see a simple way around that to use the template and a different domain (or subdomain) at the same time.

I will drop a note to Scott to see if he has anything to add. He is travelling so don't expect an immediate answer.

Personally what I would do in a case like this is to use the template on the standard dnndev.me domain initially. Then I would copy the generated project over to the subdomain site, open the .csproj file for the project and replace the dnndev.me domain with the subdomain you want.

Cheers,

Aderson

 
New Post
6/8/2015 4:12 AM
 

Grant,

Two things you can do:

#1.  Have a DNN site setup in IIS with dnndev.me as its binding/alias and create the module project there.  Then you can move it over to another DNN site (ie: myproject.dnndev.me) by moving the code folder.  Open the .csproj file in Notepad and change the IISUrl and IISAppRootUrl (under ProjectExtensions > VisualStudio > WebProjectProperties) to use the correct alias.  Then you can open the Visual Studio project and work with it from there.

#2.  Use my Enterprise MVP Template that allows you to enter your alias before the template creates the project.  See tutorial on dotnetnuclear.com and on dnnhero.com.

 
New Post
6/8/2015 4:57 AM
 

Thanks both of you for the responses and advice.  Much appreciated.

Grant

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentCreating subdomains / Visual Studio - Tutorial QuestionCreating subdomains / Visual Studio - Tutorial Question



Try FREE
30 days money back guaranteed