Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Best way for users to point domain name to a url

         

test1

7:40 pm on Apr 3, 2008 (gmt 0)

10+ Year Member



I want to give certain users <of subdomains on my server> the ability to attach actual domains to their site. What is the best way to handle this? Can they just use forwarding/masking?

I need a way to point existing domain names to their currenty site url.

[edited by: Webwork at 1:36 am (utc) on April 5, 2008]
[edit reason] Less info about the services your business offers per Charter [/edit]

encyclo

5:04 pm on Apr 6, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What platform are you using? Assuming you're using Apache on a dedicated server, you can create a virtual host for each domain pointing to the appropriate subdomain directory. This is a better option that masking or forwarding solutions, and it's the standard way hosting companies function for shared hosting.

test1

2:33 am on Apr 7, 2008 (gmt 0)

10+ Year Member



Ok, one more problem though, the sites don't exist in actual directories, the are pulled out of a db and created virtually. I know I could use mod-rewrite but I might potentially end up with 100,000 rewrite rules in there and I'm not sure if that is a good idea or not. I don't know enough about how it works.