redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Monday 15 October 2018 21:01

Ask your IT question here

Adding a Parked Domain to a shared account.



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> Web Hosting and web server administration discussion
View previous topic :: View next topic  
Author Message
phanguye
Guest Programmer




I have a slight issue I could really use some help with. An internet buddy of mine set me up with an ftp account on his university server so that I may host a couple of files (ie. a mirror location) on my webblog. The current url is:

http://www.example.com/~john/

In order to keep preying eyes away from the root domain (example.com) he asks that I bind (or park) a domain to my directory.

I have no cPanel, and no access to ‘bind’ (?) just my created folder.

So… I am wondering how it would be possible to park a domain name, using possibly .htaccess or some method other then cPanel’s automatic wack-amoll features. If modifying the httpd.conf is necessary I’m sure I could have that accomplished, but I really do need some assistance with this.

The objective is to change:

http://www.example.com/~john/example.ZIP

To

http://www.mydomain.com/example.ZIP

Thanks a bunch!

Reply with quote
 
WarChild
Enthusiastic Coder


Joined: 24 Feb 2006
Posts: 46
You can add to your .htaccess file some URL rewriting rules.
The Apache daemon on the server must have mod_rewrite.

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> Web Hosting and web server administration discussion


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo