English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I bought a shared hosting account with a domain. When I type the domain name it gets me to my updated page (i.e. everything's fine), it also resolves correctly to the IP address that I was told is mine.
But when I try to type in the IP address directly in IE (with a http:// prefix), I get a generic apache homepage. How come?

2007-05-15 21:55:52 · 5 answers · asked by binba 3 in Computers & Internet Computer Networking

I just did an Ns lookup and was surprised: I thought DNS records, especially A, have to point to YOUR website IP and that's it. But I saw mine point to the host's nameserver.
Is that the way to get an unmasked domain forwarding?

2007-05-15 22:24:54 · update #1

5 answers

Like Elomis said. shared hosting uses the web server software to locate the actual domains once the A record is located. So if you were to type IP/~yourdomain (like http:// ip/~yourusername/ ) you would find your domain. If you just use the IP you will only find the main servers website.

2007-05-16 00:23:24 · answer #1 · answered by Tracy L 7 · 0 0

SHARED HOSTING, means it's not exclusively your IP, other servers are on there. When you hit the domain name it sends extra information about what website on that IP it wants. When you just hit the IP it doesn't, so it defaults to an apache page.

2007-05-16 06:20:20 · answer #2 · answered by Elomis 5 · 0 0

On WEB server is configured that you can't reach page with IP address, only with URL.

2007-05-16 05:01:37 · answer #3 · answered by Igor B 2 · 0 1

it can due to the domain name system {DNS} u can contact ur domain provider and get it clarified

they would provide u the correct primary and the secondary dns settings

2007-05-16 05:33:11 · answer #4 · answered by Anonymous · 0 2

it would have been configured like this

http://www.yourdomain.com = http://xxx.xxx.xxx.xxx/user1

http://www.otherinsamedomain.com = http://xxx.xxx.xxx.xxx/user2

In order to have multiple url's on a same server.

2007-05-16 05:03:46 · answer #5 · answered by Ganesh 5 · 0 0

fedest.com, questions and answers