How May I park a domain into a folder?

Stealthy

New member
Joined
Jul 13, 2010
Messages
4
H!
I need to park a domain on a folder but i dont know how!
U know how may I do that? xD
 
If you don't know how then you should not be posting in How-To Guides.
 
Exactly what do you mean by Park a domain?

Do you mean you want the domain page to the standard DirectAdmin parking page (note if at some time in the future I use this domain, it will no longer be a good example)?

Or do you mean you want a custom page; something like this?

Or perhaps something more complex, which, for example, might make you money?

Example 1: Just create the site; this is the default DirectAdmin parking page. This allows me to set up email for the domain.

Example 2: I created a site called freeparking.nobaloney.net on it's own IP#, and for each domain I want to point to it, I simply set a domain pointer as an alias for the domain I want to park. Note this way I cannot set up email for the domain. Another way to do this would be to customize the default DirectAdmin parking page. You can find it in your reseller account at ~/domains/default. Then you can use the method in Example 1, and get your own site-specific email.

Example 3: Find a company offering monetization of domain names, and contract with them.

Jeff
 
hmmm
i need to do this:
when i type in address bar "example.com" go to "example.net/examplefolder/index.htm" but ppl still see that "example.com" in address bar. like Park Domain in CPanel.
 
You used example.com and example.net. I'm not sure if you mean one domain with .com pointing to the same domain with .net? Or if you mean lots of .com pointing to .net.

Either way you can use a subdomain set up for example.net, named examplefolder, and then a new site with a zero-sized frame redirecting example.com to the subdomain.

The downside is that the URL won't change even if you move to linked pages under example.net/examplefolder, but you probably won't have linked pages if you're just parking.

Or you can use my example 2, but that won't give you exactly the path you're writing about. Note that I may have been to simple in my previous explanation, but if you look here (automatedphoneattendant.com) (this works at the time of writing but could change if the domain ever becomes live) you'll see that it does what you want, with the exception that you need a separate domain.

There are other ways of doing this, which may require custom changes to your master domain httpd.conf template, but this is as far as I'm going to go (I'm not a site guy; I'm a server admin). Others may be more helpful.

Jeff
 
That's not anyone's definition of parking I've ever heard of.

The best way to do what you want to do is to install your software so that the shopping cart is directly in your public_html directory.

If it's too late to do that now, then you can create a zero-size iframe in public_html to call up shop/climbing/index.php. I wrote instructions on how to do it, on this forum, back in 2005, here.

It'll work on your own site the same way it works on another site.

The disadvantage is that when people click within your shop the URL won't change.

You may be able to do better with a complex rewrite command in an .htaccess file, but it's all outside the scope of DirectAdmin support, as it's really about writing a site in html.

Server administrators can also make changes to the user-level httpd.conf file and then chattr the file immutable but you'd have to ask your hosting company if they'd do that for you. The advantage of that would be the URL would change as people move around in your site.

Jeff
 
Back
Top