October 20, 2008
Can I have a domain (like www.domain.com) point to a folder on my web server, like (www.server.com/domain)?
devhead asked:
I’d like to run another website on my web server. I want to use at least two unique domains. Basically, if someone enters the new domain, say domain.com, it’s really accessing a folder on my server (say server.com/domain/, but the url looks like the user is on the domain.com website. I don’t have web hosting software that manages multiple accounts like a professional reseller web host. Is there something I setup with the domain name company, and use like a “virtual host” or something like that?
I’d like to run another website on my web server. I want to use at least two unique domains. Basically, if someone enters the new domain, say domain.com, it’s really accessing a folder on my server (say server.com/domain/, but the url looks like the user is on the domain.com website. I don’t have web hosting software that manages multiple accounts like a professional reseller web host. Is there something I setup with the domain name company, and use like a “virtual host” or something like that?
Filed under Programming & Design by Administrator

Comments on Can I have a domain (like www.domain.com) point to a folder on my web server, like (www.server.com/domain)? »
research iis
For example.
If you have a website
“www.myweb.com/me”
and you own a website name like: “www.me.com”
then you can forward “www.me.com” to “www.myweb.com/me” through the company that you pay to own the domain name and park the site (like GoDaddy for example).
You might want to learn about virtual hosting - each “domain” is in a separate folder, drive, wherever you want it.
It depends on what you’re referring to when you say “my server”.
Are we talking about a physical machine at your location? If so, then a specific answer will depend on the software. If Apache, then you’ll want to learn the directives and look at the files in the “conf” directory.
If we’re talking about a web hosting account, then if you have cPanel, you’ll want to look at the Add-on Domain and possibly Parked Domain features.