Solved

How to mask your static IP address with a purchased domain?

Posted on 2007-12-03
8
823 Views
Last Modified: 2012-08-14
I am hosting a ASP.NET application and I have a domain name. The problem is that every time I type my domain and is found my static IP address and the ASP application directories are shown. I do not want that information to be shown and I wonder if I can do something to keep showing my domain plus the directories only.

Current example:

      After I type my main domain it changes to this:

      http://219.253.XXX.XX/Login.aspx


I want to be shown as:

      http://www.mydomain.com/Ligin.aspx


What kind of suggestions do you have?
0
Comment
Question by:cyborgcom
  • 4
  • 2
  • 2
8 Comments
 
LVL 37

Expert Comment

by:samtran0331
ID: 20396971
This is a DNS issue...is this your web server or a hosted server?
If the directories/file names are being shown, then IIS is mis-configured.
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 20409170
It looks like something is doing a redirection to a fully qualified path.

What is the default document set to on the site?

Dave Dietz
0
 

Author Comment

by:cyborgcom
ID: 20414065
I have a pop service from 1and1.com and also an account where I can create domain names. I am just redirecting from the domain provided by 1and1.com to my IIS server here in my office. How do I have to configure my IIS to just show my domain and not my IP Address and directories?
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 20416471
If you can provide us with the actual DNS name maybe we can figure out where the redirection is taking place and *if* there is a way to do anything about the IP address.

If this is one of those deals where the 'hoster' registers your domain name to their IP address and then does a redirect for you to whatever IP address you tel them there likely isn't anythign that can be done.

Dave Dietz
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 37

Expert Comment

by:samtran0331
ID: 20419094
Dave, you're the ranking genius on this one! So correct me if I'm wrong...but I think what's missing is a nameserver of some sort right? On 1and1, it looks like you can control the ns of the domain name, but I don't know if you'd use theirs, or does cyborgcom need his own?
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 20424938
Generally most places that host domain names will have their own name servers you can use if you want to.  Some of them allow you to register your own name servers.

Some places take the domain name you register and point it to their own webserver and use a table of some sort that looks at what name you are trying to reach and does a redirect to the IP address you have registered.  I've even seen some that do this in a frame (very ugly and can cause issues).

What I am curious about now is the following line:
" I am just redirecting from the domain provided by 1and1.com to my IIS server here in my office."

How is this redirect configured?  This could be the key to the issue.

Dave Dietz
0
 

Author Comment

by:cyborgcom
ID: 20430384
" I am just redirecting from the domain provided by 1and1.com to my IIS server here in my office."

What I meant with this is that I have a computer acting as my IIS server in my office. I have a static ip address for WAN connection and my LAN interface to my network where my data base is. I have a domain name provided by www.1and1.com and I create a sub domain. I have the configuration of Domain destination Settings as the following:

Domain Data
Domain name      realtimeorders.mygeneraldomain.com
Status      Ready
Domain is      Included domain

Destination      Forwarded (Http Redirect) to: http://216.253.XXX.XX/LUR_CC_MGR

MS FrontPage Extension
Status      Deactivated

0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 20432733
This is the problem:
"Destination      Forwarded (Http Redirect) to: http://216.253.XXX.XX/LUR_CC_MGR"

This is sending the browser a redirect to an IP address which will cause the browser to show the IP address in the address bar and use the IP address as the Host Header as well.

In this case there isn't any configuration you can do in IIS to change the behavior.

The only real solution here is to get a DNS entry set up to resolve a name to the address of the web server rather than using an HTTP Redirect to an IP address.

Sorry.

Dave Dietz
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now