Developer forum

Forum » CMS - Standard features » DNS redirecct does not work correct

DNS redirecct does not work correct

Jesper Friis
Reply

Hi

I have set a redirect via DNS at one.com with a web-alias for the shop http://bulowduus.net.dynamicweb-cms.com/

But it's not working correct because when I watch the source code on www.bulow-duus.dk I only get this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html><head><title>www.bulow-duus.dk</title></head><frameset rows="100%"><frame src="http://bulowduus.net.dynamicweb-cms.com">
<noframes><p>Your user agent does not support frames or is currently configured not to display frames. However
you may visit <a href="http://bulowduus.net.dynamicweb-cms.com">the page that was supposed to be here</a></p></noframes></frameset></html>

An when I watch the source code for http://bulowduus.net.dynamicweb-cms.com/ I see the whole souce code but I also see this:

<meta name="robots" content="noindex,nofollow" />

Is the problem that I should set up the DNS with an A record and CNAME instead of web-alias?

And if it is where do I find the IP-adress to redirect to ?

Hope someone can help because rigth now my shop is not indexed at all.

 

Thanks

-Jesper


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Jesper

Yes, it has to be a CNAME to bulowduus.net.dynamicweb-cms.com.

Remember to add bulowduus.net.dynamicweb-cms.com as a hostheader in the management center.

BR Nicolai

 
Jesper Friis
Reply

Hi Nicolai and thanks for your quick reply

 

But I still a bit confused about it.

 

Should I not make an A record for bulow-duus.dk that points to an ip adress (bulowduus.net.dynamicweb-cms.com)

and then for www.bulow-duus.dk make a CNAME that points to bulow-duus.dk

 

If this is the way I should do it could you then tell me where I find the ip-adress for bulowduus.net.dynamicweb-cms.com

 

But if it's not should I then make two CNAME redirects instead?  (One for bulow-duus.dk and one for www.bulow-duus.dk)

 

thanks again

-Jesper

 

 

 
Nicolai Høeg Pedersen
Reply

Hi Jesper

Depends on the DNS.

Your solution is hosted on dcms-d284.aar0.dk.hostnordic.com which has IP 81.95.244.13.

You can make a www CNAME to either bulowduus.net.dynamicweb-cms.com or dcms-d284.aar0.dk.hostnordic.com and a a-record for bulow-duus.dk to the IP.

Nicolai

 
Jesper Friis
Reply

Hi Nicolai and thanks again

 

But I still cant make it work. I think it's something with the way I have set the CNAME at one.com

I have attached a couple of screenshots so you can see how it's set up both at one.com and in Dynamicweb.

Right now the page gives me this error: HTTP Error 404. The requested resource is not found.

 

Hope you can help.

Thanks

-Jesper

 

dw.jpg one-dns.jpg
 
Nicolai Høeg Pedersen
Reply

You haveto add the hostnames in the hostheader section in management center:

http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Management-Center/Web-and-HTTP/Host-headers.aspx

 
Jesper Friis
Reply

Hi Nicolai

 

Thanks a lot for your help.

Everything works perfect now.

 

-Jesper

 

You must be logged in to post in the forum