Newbie q - trouble deploying

P

Peter Morris

Newbie here, trying to build my first website.

I bought my domain name from one company.
Then I paid a different company for web hosting.

I've uploaded my ASP.NET files to my host, entered my URL
in my browser and... it goes to a page advertising the company
I bought my domain name from. Not even the default holding
page provided by my hosting company, which I could
understand.

What am I doing wrong here?
 
J

Juan T. Llibre

re:
I've uploaded my ASP.NET files to my host, entered my URL
in my browser and... it goes to a page advertising the company
I bought my domain name from.

They need to point your domain name to the server where the files are hosted.
Ask them to configure the DNS for your domain so it points to your website's server.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
P

Peter Morris

Juan T. Llibre said:
re:

They need to point your domain name to the server where the files are
hosted.
Ask them to configure the DNS for your domain so it points to your
website's server.


sorry, ask who? The web hosting company or the company that sold my domain
name?
 
J

Juan T. Llibre

re:
sorry, ask who? The web hosting company or the company that sold my domain name?

You first ask your web hosting company what the web server's IP is.

If you're assigned an exclusive IP, *then* ask your domain name provider to point
the domain name which you bought from them to that IP, by configuring a pointer
on their DNS server(s).

After they do that, it will take a while for the domain name to propagate.

You might have a web hosting company running on the cheap so,
instead of assigning you an IP, you might have to share an IP
with other customers of theirs.

In that case, your web hosting company will need to configure your domain's
host headers or the DNS pointer your domain provider assigns won't work.

Just ask them if that's the case.
It's much more common to be assigned an exclusive IP.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
P

Peter Morris

Thanks, I'll get a good night's sleep and do that in the A.M.

I'll get back to you if I have any more problems.
 
C

Cor Ligthert [MVP]

Peter,

Every domain has an IP address which can be set in the for humans more
readable DomainName.

The IP address is somewhere on a server and it is unique, it is set by the
company that host your website.

These pairs are served by DNS servers all over the world. (Simple said: just
lookup tables with some extra information).

Somebody have to set in those DNS servers the DomainName and IP address name
and the extra information. That can be both of the companies from which you
hire.
(It is not the best to do it by more than one, because this setting can give
a lot of trouble and than both companies will point to each other while your
hosting company should be able to do that as well).

Beside that there need to be on the Server that you use as host ASPNET and
IIS to be running in the proper .Net version that you use.

Therefore try to test your programs first not using the domainname, but the
IP address that you got from the company that is hosting your website.

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top