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:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #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: 8
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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway