Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Location
    WHT, where else?
    Posts
    420

    Question how to make the short domain alias work?

    let's say, I have a domain name: www.abcnews.com, and the TLD www.abcnews.com works as configured in the vhost of my apache conf:

    VirtualHost *:80>
    ServerAlias abcnews.com
    DocumentRoot /var/www/html/abcnews
    ServerName www.abcnews.com
    </VirtualHost>
    however, the problem is the short domain alias abcnews.com does NOT work. I wonder what I need to do to make it work? do I need to configure my virtual host or do something with my named server config, like the A, or CNAME record? if yes, how? thanks!

    ps: I don't have any control panel installed on my vps. I like to config the server using command lines.
    Tubenode.com - FFMPEG, PHP & RoR Hosting
    RCholic.com - R/C videos sharing

  2. #2
    Join Date
    Jul 2009
    Location
    The backplane
    Posts
    1,788
    I can't answer to the Apache part, but do you have an A record for the "short" version pointing to the web server?

  3. #3
    Join Date
    Feb 2012
    Location
    Montreal, QC, Canada
    Posts
    47
    Does your domain (eg. abcnews.com) resolve to the same server/IP address as your subdomain (eg. www.abcnews.com)?

    Otherwise your Apache configuration seems fine!

  4. #4
    Join Date
    Jun 2009
    Location
    Bristol, UK
    Posts
    232
    The vhost entry looks okay.

    Have you creaetd an A record for abcnews.com and www.abcnews.com?
    Using a CNAME is the standard way of doing it.
    | Galaxy Web Solutions Ltd
    | cPanel, cPanel Reseller, Master Reseller, Shoutcast/Icecast + Shoutcast/Icecast Reseller Solutions
    | Cheltenham based servers housed in our own private rackspace. Server Colocation & VPS also available!
    | GalaxyWebSolutions.com | 0800 520 0107 | 01454 620 217

  5. #5
    Join Date
    Jan 2005
    Location
    WHT, where else?
    Posts
    420
    after adding a CNAME record, the short alias finally works! thanks guys
    Tubenode.com - FFMPEG, PHP & RoR Hosting
    RCholic.com - R/C videos sharing

Similar Threads

  1. Wanted Short Domains - I love (BUY) short domain names
    By websoltech in forum Domain Name Requests
    Replies: 112
    Last Post: 03-01-2011, 07:04 PM
  2. How to make an alias in httpd.conf
    By redtail in forum Hosting Security and Technology
    Replies: 15
    Last Post: 08-25-2010, 11:52 AM
  3. How do you make a webpage alias (shortcut) on mac OS X?
    By metronome in forum Web Hosting Lounge
    Replies: 3
    Last Post: 10-11-2006, 03:39 PM
  4. virtusertable -- how to make one alias go to two foreign e-mail addresses?
    By rbayless in forum Hosting Security and Technology
    Replies: 2
    Last Post: 12-23-2004, 01:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •