Hide Virtual Directory

Topics: Developer Forum, User Forum
Jun 6, 2009 at 11:33 AM

I have several domains hosted on godaddy each in its own virtual directory [eg. www.mydomain.com/virdir/default.aspx]

I'm using MWPSK but I dont want the Virtual Directory displayed:

www.mydomain.com/virdir/default.aspx - works

www.mydomain.com/default.aspx - works 

How can I accomplish this?

Jun 7, 2009 at 4:12 PM

Hi comwizd - you'll either need to a) speak to your hoster, to see if they can set it up at the server end, or b) implement some url-rewriting to achieve the effect.

I've never used godaddy, so can't comment on whether there's a specific work-around on their control panel.

Eitherway, it's not specifically a MWPSK feature/problem.

HTH,

Jim.

Jun 8, 2009 at 1:25 AM

Hey Jim,

I'm not having problems with MWPSK..in fact it works fine.

I contact godaddy and they suggested using a script but give no support for scripts how could they they didnt create MWPSK.

Guess I should have ask "How do I using url-rewrite in c# and change:"

www.mydomain.com/virdir/mypage.aspx  into www.mydomain.com/mypage.aspx

Thanks