Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
7415 Lượt xem

My DNS provider doesn't allow me to configure redirections. I have a few e-commerce with Odoo and i'm migrating from on-premise to Odoo.sh.

The problem I have is that i can't use a naked domain like mydomain.com with Odoo.sh, just www.mydomain.com.

I have registered both domains in Odoo.SH configuration, but in the documentation it says I need to do a redirection from naked to www domain.

How can use naked domain in Odoo.SH without having a server for a 301 HTTP redirection?

Thanks in advance.

Ảnh đại diện
Huỷ bỏ

Who is your DNS provider? We've been on GoDaddy and Cloudflare while being on Odoo and both allowed us to do this at the DNS level. I don't believe you will be able to do it within Odoo.sh itself.

Tác giả Câu trả lời hay nhất

I solved like this: 

1- In the DNS insert the CNAME register as Odoo.SH asks you

2- In the DNS insert an A type register to an IP server of your own. 

3- In the server where you send the DNS A Request, configure a redirection via your web server.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I am unable to set up naked domain for my website 

If I open "northlinestore.com" it is not opening, issue seems to be with some security certificate.

However if I type " www.northlinestore.com" it is working.

Steps taken so far

1. Created CNAME DNS record with my domain provider

Name- www

Value-northline.odoo.com

2. Created A name DNS record-

Name- @

Value- IP address

3. Also enabled forwarding feature to forward northlinestore.com to www.northlinestore.com

Tried the on different web browsers, same issue. The domain sometime works, sometime does not.

Please help


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

our domain is hosted at bluehost. they allow for redirect but we are unable to get it to work. For Cname our setting is www to selamtausa.odoo.com
in bluehost our redirect the setting bellow 

Original domain:

selamtausa.com.

Directory:

/

Target domain:

http://www.selamtausa.com

Type:

Permanent (301)

WWW:

Will redirect

Ảnh đại diện
Huỷ bỏ
Tác giả

I recommend you to use the .htaccess redirection
https://www.bluehost.com/hosting/help/htaccess_redirect
You can also use the meta redirection with an index.html file with this content:

<html>
<head>
<META HTTP-EQUIV=Refresh CONTENT='0; URL=https://www.selamtausa.com'>
</head>
</html>

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 23
2387
0
thg 3 24
693
3
thg 7 24
15629
1
thg 5 25
2387
2
thg 12 22
2484