| 
 
 
 | 
| Keep Server Online 
 If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
 
 or
 
 
   
 A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
 
 Thank You! Steffen
 
 Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
 |  | 
 | 
| | 
| | 
|  Topic: showin ip instead domain name |  |  
| Author |  |  
| chillipepper 
 
 
 Joined: 26 Apr 2008
 Posts: 22
 
 
 | 
|  Posted: Thu 04 Sep '08 18:41    Post subject: showin ip instead domain name |   |  
| 
 |  
| Hi there,am not sure if its a problem with apache.so here my problem when anyone goes to my site though domain name it shows up the ip address.
 like this www.name.com and it shows www.12.112.12 etc i have put my name in the header in apache confd file
 any ideas anyone.
 |  |  
| Back to top |  |  
| glsmith Moderator
 
  
 Joined: 16 Oct 2007
 Posts: 2268
 Location: Sun Diego, USA
 
 | 
|  Posted: Thu 04 Sep '08 19:23    Post subject: |   |  
| 
 |  
| EDIT: I think I'm full of it here. I didn't see the www. before the IP address when I wrote this, still not sure. Never seen anything like that in 10 years. I may partially be on, maybe not. New territory here. I think I'd still start out looking at just how you get www.name.com pointing to your server.
 END EDIT:
 
 Sounds like an uncloaked URL Forward/Web Forward etc etc by many different names.
 
 Like: http://www.name.com -> http://xxx.xxx.xxx.xxx (IP)
 
 If your ServerName is configured in Apache like www.name.com, and you have a proper DNS record (A or CNAME) for www.name.com then it should show the domain name.
 
 In reality, the main host in Apache will answer to any domain name pointing to your IP regardless of the ServerName, that comes in more when using Virtual Hosts, however, even using VHosts the your main host configured will still answer to any name not configured by a vhost.
 |  |  
| Back to top |  |  
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 05 Sep '08 12:03    Post subject: |   |  
| 
 |  
| What did you set for ServerName and UseCanonicalName? |  |  
| Back to top |  |  
| chillipepper 
 
 
 Joined: 26 Apr 2008
 Posts: 22
 
 
 | 
|  Posted: Sat 06 Sep '08 0:50    Post subject: |   |  
| 
 |  
| Thanks guys but its all sorted now.the site which was nameserverin to my ip had it masked.even if i undo the masked i still was gettin probs,so i change to someone else and now all sorted. |  |  
| Back to top |  |  
 
 | 
 |  | 
 |  |