Results 1 to 5 of 5
-
02-06-2012, 02:10 PM #1Aspiring Evangelist
- Join Date
- Jan 2005
- Location
- WHT, where else?
- Posts
- 420
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>
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
-
02-06-2012, 03:20 PM #2Web Hosting Master
- 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?
-
02-06-2012, 03:22 PM #3Junior Guru Wannabe
- 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!
-
02-06-2012, 03:24 PM #4Junior Guru
- 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
-
02-06-2012, 03:41 PM #5Aspiring Evangelist
- 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
-
Wanted Short Domains - I love (BUY) short domain names
By websoltech in forum Domain Name RequestsReplies: 112Last Post: 03-01-2011, 07:04 PM -
How to make an alias in httpd.conf
By redtail in forum Hosting Security and TechnologyReplies: 15Last Post: 08-25-2010, 11:52 AM -
How do you make a webpage alias (shortcut) on mac OS X?
By metronome in forum Web Hosting LoungeReplies: 3Last Post: 10-11-2006, 03:39 PM -
virtusertable -- how to make one alias go to two foreign e-mail addresses?
By rbayless in forum Hosting Security and TechnologyReplies: 2Last Post: 12-23-2004, 01:27 AM