configuring HTTP vhost in yast: "error" "invalid server name"

On Tumbleweed, I’m adding my first vhost in yast.
There already is an empty directory “/srv/www/vhosts”.

When adding a vhost “default” in “/srv/www/vhosts/default” with email address “jeroen.pluimers.com@gmail.com” or “jeroen.pluimers.com+default@gmail.com”, then I get the below error.

Why?
How to work around it?

Error
Invalid Server Name
A valid domain name consists of components separated by dots. 
Each component contains letters digits, and hyphens. 
A hyphen my not begin or end a component and the last component may not begin with a digit.

See the images below.

https://copy.com/YV2pbu6EKdcNjefq

and

https://copy.com/SvfPqJV6q6Y3Ft2p

–jeroen

On 05/31/2015 04:16 PM, jpluimers wrote:
>
> On Tumbleweed, I’m adding my first vhost in yast.
> There already is an empty directory “/srv/www/vhosts”.
>
> When adding a vhost “default” in “/srv/www/vhosts/default” with email
> address “jeroen.pluimers.com@gmail.com” or
> “jeroen.pluimers.com+default@gmail.com”, then I get the below error.
>
> Why?
> How to work around it?
>
>
> Code:
> --------------------
> Error
> Invalid Server Name
> A valid domain name consists of components separated by dots.
> Each component contains letters digits, and hyphens.
> A hyphen my not begin or end a component and the last component may not begin with a digit.
> --------------------
>
>
> See the images below.
>
> [image: https://copy.com/YV2pbu6EKdcNjefq]
>
> and
>
> [image: https://copy.com/SvfPqJV6q6Y3Ft2p]
>
> --jeroen
>
>
It’s not looking for an email address but a domain name.

But I’m sure a certain someone will move this to the prerelease-beta
forum (there really is not a tumbleweed forum) since the word
“tumbleweed” was mentioned.

Ken

hostname --fqdn tells me this:

revue.fritz.box

If I set server name to revue.fritz.box, I get the same error.

–jeroen

On 05/31/2015 04:46 PM, jpluimers wrote:
>
> hostname --fqdn tells me this:
>
>
> Code:
> --------------------
> revue.fritz.box
> --------------------
>
>
> If I set server name to revue.fritz.box, I get the same error.
>
> --jeroen
>
>

And you have a DNS server setup to provide that or the /etc/hosts file
is setup?

Ken

The “Pre-release” Forum is also the forum for Tumbleweed and Evergreen
https://forums.opensuse.org/forumdisplay.php/677-Tumbleweed-Evergreen-and-PreRelease-Beta

The Server name should be a real server name, not a virtual server (which is configured at the bottom of that window).
Despite what it says, I assume that you can enter the results of the following command

echo $HOSTNAME

You can also find your machine’s FQDN and hostname in YAST > Network Settings > Hostname/DNS tab

TSU

Hi
Temporarily closed and moving to correct sub forum.

Thread moved and open for consumption.

So server name should be the sever name or FQDN? Like any of these (pasted from my Mac ssh terminal connection to the server)?

**revue:~ #** echo $HOSTNAME
revue
**revue:~ #** hostname --fqdn
revue.fritz.box
**revue:~ #** hostname
revue

@Ken: fritz.box supplies the DNS through DHCP to this server (boy I wish the forum would do Markdown or reStructuredText).

–jeroen