Koozali.org: home of the SME Server

Can't set up new domain

WEBlance

Can't set up new domain
« on: December 12, 2006, 10:09:49 PM »
Hi,

I'm trying do add a new domain to the SME, færøerne.dk but I get the error: Error: unexpected or missing characters in domain name . The domain name should contain one or more letters, numbers, periods and minus signs. Did not create new domain.

This is problably caused by the characters æ and ø in the domain. The domain including the danish characters are correct and valid. Doesn't SME support this?

/Carl

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Can't set up new domain
« Reply #1 on: December 13, 2006, 11:18:06 PM »
I have run into some instances where the server-manager refuses to accept input that actually works if added to the databases manually.

The potential risk is that once you have a domain with "illegal" characters in it you may have problems running portions of server-manager.

If you want to try it anyway, this should work:

1. Use server-manager to create a domain (called template.com in this example) that is setup however you want your domain setup.

2. Use this command to copy template.com to the domain name you really want:
db domains set færøerne.dk `db domains get template.com`

3. Use this command to manually update the various configurations:
signal-event domain-create færøerne.dk

4. Tell us how badly I've messed up your server!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Can't set up new domain
« Reply #2 on: December 14, 2006, 08:36:43 AM »
Quote from: "WEBlance"
Hi,

I'm trying do add a new domain to the SME, færøerne.dk but I get the error: Error: unexpected or missing characters in domain name . The domain name should contain one or more letters, numbers, periods and minus signs. Did not create new domain.
My guess is that SME does not allow special charachters to prevent user from using domain names that using special charachters like you do. How do you expect non danish users to connect to your domain? You make it pretty hard as I do not have those special charachters on my keyboard.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

WEBlance

Can't set up new domain
« Reply #3 on: December 14, 2006, 04:35:34 PM »
Thanks for the inputs guys!

I've found out that the problem is that the domain is an IDN. Problem solved by translating færøerne.dk to xn--frerne-pua9l.dk and this works!

/Carl