Redirect vs. Domain Pointer

mrfantasy

Verified User
Joined
May 17, 2007
Messages
18
What’s the difference? I have two sites that need to be directed to one of the two, I added both sites to the server and get a error message using Domain pointer "site is already located on the server" I take it that I can't use Domain pointer so I tried to work with Redirect but the site I trying to redirect just shows the Default index page that comes with a new site. I read in the site helper and did what it said to do but it wasn't very informative about redirect. I see this a lot with some people that write directions to things, if they know it they assume parts of it and neglect to add them figuring the person reading aleady knows it. How would one redirect www.example.com to www.xample.com I am the reseller setting it up for the user. The user has been set up for an extra domain to accommodate the extra domain and a domain pointer was added. Thanks for the Guidance!

Do I add the site to the server?
if so do I add a package for the redirected site?
What next?

Mr Fantasy
 
example.com and www.example.com are set up in DirectAdmin to be the same site. If you need to change that behavior you'll have to rewrite the DirectAdmin templates; if you do that be sure to move them to the custom directory first, or DirectAdmin will overwrite them the next time you update.

The reason you get a notificaton that the site is already located on the server is because DirectAdmin checks for that rather simplistically; if there's a DNS zone on the server for the site it won't create it.

If you must create the site before you redirect you can of course delete the DNS zone before you create the redirect.

I'm not sure why you'd want/need to do that. But you can.

Jeff
 
Thanks for the post

Thanks Jeff, But I dont think you understand what I'm trying to do here. What I wanted to do is use two totally different domain Names point to one web site. and I was having trouble getting it to do that probably because DA is a bit skimpy on directions. The directions State:


Site Redirection

To access site redirection, click on the "Advanced Tools" <---No Where in my DA does it say Advance Tools?, icon from the main control panel menu, then click the "Site Redirection" icon.



Site redirection allows you to forward visitors to somewhere else on your site, or to another web site altogether.







In the above example, visitors to http://www.site-helper.com/directadmin would be sent to http://www.directadmin.com.



Enter a slash (/) by itself in the "Local URL Path" field to forward all visitors to your domain (http://www.yourdomain.com) to the specified Destination URL.



Domain Pointers

To access domain pointers, click on the "Advanced Tools" icon from the main control panel menu, then click the "Domain Pointers" icon.



Domain pointers allow you to forward other domains to your main web site. Make sure to change the records of these domains to the same name servers as your main web site (this is done through the domain registrar).







Let's say we also own the domain hite-selper.com. In the above example, we are creating a pointer that makes all visitors to hite-selper.com end up at site-helper.com. Be sure to click "Add" when you are finished entering the source domain.



Note: It may take up to 72 hours for the pointer to become active.


No where does it state that, if I want to send a visitor to another site that I do or do not add the domain name to the account, and if this other domain name was just created and no website actually exists for this name (it being created for direction of keyword purposes only) how would it be accessable if it wasn't. There for I added it and DA returned a error. At any rate I did get it working and I very much Appreicate this forum and the techs that respond here.

I added the second domain to the account like I would any other then clicked "Home" in control Panel which brought me to a list of both sites, clicked on the new empty site that I just added (meaning I added only the domain name, no pages) leave the first line with just the forward slash, then I set the "redirect Type as "301 Permenent"
and typed in www.myothersiteurl.com and clicked "save". It does take awhile for the setting to take affect so give it sometime. Now I have two domain name pointing to the same website. Domain pointer DID NOT work for me in this situation where as redirect DID.


Mr Fantasy
 
No Where in my DA does it say Advance Tools?

It does if you use the Default skin which is what site-helper is based on.

Domain pointer DID NOT work for me in this situation where as redirect DID.

That is because the two a totally different things.

Domain pointer "points" one domain to the same root folder of another domain hosted on the same machine. So yes you would have to add the pointed domain.

Redirect goes to another url.

The two are not really related at all.
 
Back
Top