DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 4th, 2001, 09:08 AM
chinook chinook is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 262 chinook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 58 sec
Reputation Power: 9
Where does http://<domain>.com redirect to?

Hello,

I am encountering something quite strange.

We have a domain, lets say xyz.com.

This domain works fine when you type in http://www.xyz.com in a browser (i.e. the correct website is served up). However, when you type in http://xyz.com it goes somewhere completely different, although related.

I know that you create subdomains by using the format http://subdomain.xyz.com, and that you define these in your DNS and Apache configs. But what I don't understand is, is there some kind of generic subdomain that is used (when no subdomain or www. is present)?

As when http://xyz.com is typed in, it goes to a closely related site hosted on the same server. I don't control the DNS but do control the webserver, so I am assuming that this is a DNS issue... Am I right?

Thanks

Reply With Quote
  #2  
Old December 4th, 2001, 07:30 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Since you don't control the DNS, this is then entirely some issues with Apache. If you want http://xyz.com to be the same site as http://www.xyz.com (default), then add ServerAlias like so:

<VirtualHost *>
ServerName www.xyz.com
ServerAlias xyz.com
DocumentRoot /var/html/htdocs
....
....
</VirtualHost>

>> is there some kind of generic subdomain that is used

It's all personal preference. If you are wondering what subdomain is available, ask your host.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Where does http://<domain>.com redirect to?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT