XFileSharing Pro - e.g. d1.xxx.com rather then ip address ?
e.g. d1.xxx.com rather then ip address ?
e.g. d1.xxx.com for additional servers rather then ip address ? does enyone know how?
Re: e.g. d1.xxx.com rather then ip address ?
Hi,dollarek wrote:e.g. d1.xxx.com for additional servers rather then ip address ? does enyone know how?
to do this you need to edit the DNS of your website, if you have the domain dns hosted at your register(namecheap, domainsite etc) you can edit it there, an example: http://img269.imageshack.us/img269/7408/dnsv.jpg
if you have own nameservers, or the one from your site host (eg, you filled in NS1.something.com NS2.something.com somewhere) You should be able to edit it somewhere via whm or ask your host.
thats the easy part, the second part is making your fileserver to respond to those dl1.domain.com etc
if you have cpanel or any other panel installed on the fileserver, this is really easy, you just add the domain there and the panel will do hte work for you.
if you however don't have any panel on the fileserver, you need to make apache correspond to it manually: http://www.apacheweek.com/features/vhost
if you run on linux with apache2 you need to edit /etc/apache2/sites-available/default
I've uploaded an example of one of my configs http://img29.imageshack.us/img29/4295/apachevhost.jpg
the main things you need are the servername, documentroot and the things for the cgi bin(important). Also you should set the allowoverrides to all actually, thats a mistake on my end here..
After you've edited it you should restart apache, and when you go to dl1.domain.com it should show the contents from /home/yourfolder/
if you dont have any experience with servers I'd suggest you get someone to do this for you
All you'd need to do is edit your NS records rather create a new one with the ip address of the the server you want it to point too.Wait a couple days for propogation to take place, and you should be able to ping it.He doesnt want to create a path or want to point apache to a new directory so wou;d have to edit the htaccess.
-
- Posts: 14
- Joined: Aug 24, 2009 9:51 pm