Solved

Problem with domain name and hosting account..??

Posted on 2013-12-03
16
251 Views
Last Modified: 2014-02-21
I've got the domain name bstock.net hosted with Network Solutions.  I have a hosting account with cPanel setup for this at HostGator.  The IP address of the HG server is 50.87.152.104, and I have updated the A record in DNS for bstock.net to point to this IP address.  When I ping bstock.net I get that IP address as expected.  

I'm able to FTP to the HG hosting account using bstock.net as the host and the file makes it there as expected.  I can see it in File Manager in cPanel.  

For some reason, though, when I browse www.bstock.net I'm getting this default ads site as if the domain was parked or something like that.  I can't figure out what's going on.  

Any info on how I can resolve this issue would be greatly appreciated.  Thanks!
0
Comment
Question by:Andrew Angell
  • 7
  • 5
  • 4
16 Comments
 
LVL 13

Expert Comment

by:SagiEDoc
Comment Utility
Either you do not have a webpage to respond to http requests or you do but the default page has not been set. If it has been set I would contact network solutions, they need to resolve the issue.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
The 'www' is not automatic.  It normally needs to be added as a CNAME record in your DNS.  More info here: http://en.wikipedia.org/wiki/List_of_DNS_record_types
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Like this
NAME                    TYPE   VALUE
--------------------------------------------------
bstock.net             A           123.456.789.23
www.bstock.net    CNAME  bstock.net.

Open in new window

0
 
LVL 11

Author Comment

by:Andrew Angell
Comment Utility
I'll try adding a CNAME record, but shouldn't http://bstock.net (without the www) work even without that, though?
0
 
LVL 13

Expert Comment

by:SagiEDoc
Comment Utility
No, bstock.net and www.bstock.net are two different names technically. You can add a www. record and point it to the same IP address as bstock.net then they will both resolve. However that does not mean the website will load for both, you will need to set the hostheader for that to happen.
0
 
LVL 11

Author Comment

by:Andrew Angell
Comment Utility
When I try to add a CNAME it tells me the A record already exists for the alias, and when I check A records I can see that www.bstock.net is one of the default values in there.  That's where I set the IP address to the address of the HostGator hosting account.  

Again, when I ping either www.bstock.net or bstock.net it hits the correct IP, and I can FTP to the hosting account just fine using the domain name, but actually browsing it in a browser is giving me that ads page.
0
 
LVL 13

Expert Comment

by:SagiEDoc
Comment Utility
Is there no FAQ you could check to make sure you have pointed the DNS to the correct IP address?
0
 
LVL 11

Author Comment

by:Andrew Angell
Comment Utility
If the DNS wasn't pointed to the correct IP I wouldn't be able to FTP to it using the domain.  

From the HostGator account for bstock.net, I created a new FTP account.  From a client, I can use bstock.net as the host as well as the un/pw I created from the bstock.net cPanel and it all works just fine.  Then I can open up File Manager from cPanel and see the files in there as expected, so all of that is working as expected.

The actual site in a browser, though, is loading this other thing.  I've never seen anything like this before.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 13

Expert Comment

by:SagiEDoc
Comment Utility
You see ftp. and www. can point to two completely different IP addresses even if bstock.net is right.
Also when did you make these IP changes? They will not be instant and may take 24 to 48 hours to update on all DNS servers.
0
 
LVL 11

Author Comment

by:Andrew Angell
Comment Utility
Yes, I understand that.  I'm not using ftp.bstock.net, I'm just using bstock.net.  

When I ping them it hits the correct IP, so I can see that DNS is doing what I expect as far as hitting the correct IP address goes.  

Here's a screenshot of the DNS A record setup in NetSol...

DNS A Records
0
 
LVL 13

Expert Comment

by:SagiEDoc
Comment Utility
Ok, what happens if you try connect to a page that you know works like:
www.btstock.net/test.php
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
You probably need to setup DNS on your hosting because your hosting IP address is for their server and not your website.  It appears that they are using "name-based hosting" where one IP address is used for many websites.
0
 
LVL 11

Author Comment

by:Andrew Angell
Comment Utility
SagiEDoc:  I get the same default looking ads page no matter what subdirectory or file I try to hit whether it actually exists or not.

DaveBaldwin:  I was thinking the same thing, but the web server is a VPS with multiple cPanel's setup for each site that is configured on it.  I've never seen an instances where a hosting account was configured with cPanel/WHM but it didn't actually setup the virtual server for it in Apache vhosts.  

I guess I can double check all of that as I'm not the one who personally configured the hosting account on this server, but it just seems odd everything else in this cPanel would be functioning exactly as expected.  

Unfortunately, I don't have access to the server directly.  All I have is the cPanel login, and I'm not seeing anything in cPanel that would let me edit or configure the site in Apache vhosts.
0
 
LVL 11

Accepted Solution

by:
Andrew Angell earned 0 total points
Comment Utility
It turns out my client didn't have his nameservers updated to the correct values like he said he did.  Once that was resolved everything started working as expected. Doh!
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Funny how that works...
0
 
LVL 11

Author Closing Comment

by:Andrew Angell
Comment Utility
The answers I received didn't point me to the nameservers.  My client figured that out and got it resolved on his own.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

10 Experts available now in Live!

Get 1:1 Help Now