? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePublicPublicAdministrationAdministrationRedirecting to localhost without virtual directoryRedirecting to localhost without virtual directory
Previous
 
Next
New Post
10/27/2013 6:59 AM
 

Hi,

Hope you are doing well :)

I am setting up a development environment on AWS EC2 instance for my production site.

The issue i have is that the url is redirected to http://localhost/default.aspx instead of http://localhost/VirtualDirectory/default.aspx

I know the links work just fine when i manually type this under the url as http://localhost/VirtualDirectory/default.aspx

I have placed my virtual directory under C:\inetpub\wwwroot\VirtualDirectory

I can make this work by referring the link in the pages as href='/VirtualDirectory/default.aspx' instead of href='/default.aspx', but i will have to change this in a lot of places and change in those many places when i move things to production to remove the directory before going live.

I am using DNN version 5.06.03, is this a bug or i have to make some changes.

Thanks

Sameer

 
New Post
10/28/2013 4:01 AM
 

Hi Sameer,

I strongly suggest that you use a temporary domain or URL to develop your site. Using virtual directories usually complicate things when moving the site live later on.

When you use a temp domain and it comes time to move to a final live domain, you just have to change the portal alias.

Also, you should be setting up a new site under IIS for that temp domain, not a virtual directory.

I know this may not have addressed your question directly but I think this is a better approach in general.

Cheers,

Aderson

 
New Post
10/31/2013 7:28 PM
 

Thanks Anderson, I know there was no solution to the virtual directory. I put the files directly under the root folder of inetpub and it is working there.

-Sameer

 
Previous
 
Next
HomeHomePublicPublicAdministrationAdministrationRedirecting to localhost without virtual directoryRedirecting to localhost without virtual directory



Try FREE
30 days money back guaranteed