General discussion

Domain Pointing question

I am using Empowering Media as a web host for one of my websites. I have just bought several other domains, to point to this host; howeaver, it seems after they upgraded their software, it can only be aliased with the entire site, I can no longer alias a domain name and point it to a directory.

The customer support was of no use when I asked for help, only getting "It is not possible for you to set it up that way." as a response.

Is there any way I can use a PHP or Perl script to determine which domain the user went to, and depending on which, it will open a certain page?

I have very limited knowledge with PHP, and couldn't get the refferrer variable to print out correctly...

Discussion is locked
Reply to: Domain Pointing question
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Domain Pointing question
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
- Collapse -
Free service

I know at one point I used a free service called that allowed you to re-direct your names. You set the name-server up to my domains and then tell my domains where to send it (this can include your directories)

On your hosting do you have access to your .htaccess file?

- Collapse -

If the htaccess you refer to is in my docroot, yes, I have access to it.

- Collapse -
Google .htacces

I am not sure it will entirely meet your needs, but do a google search for .htaccess and you will find several articles on its use. Even if it does not work for this purpose, there are some otehr items you can do with it that will be helpful in the long run.

CNET Forums