Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Website configuration

Hello Community


I want to create a website (www.domain.tld) and another website (blog.domain.tld). So I registered the domain and configured it to my mac server. When I try to access www.domain.tld then it is working perfect. When I try to access blog.domain.tld or want to resolve it by dns tool then it tell me that this is not working.


I configured my DNS as follow in server.app


Primary zone: domain.tld

blog.domain.tld (Computer)

ftp.domain.tld (Alias)

domain.tld (Mail Exchange)

domain.tld (Name Server)


and my Website configuration:


1st:

www.domain.tld

IP Adress: 12.34.56.78 Port: 80

no SSL certificate

additional domain: domain.tld


2nd:

blog.domain.tld

IP Address: 12.34.56.78 Port 80

no SSL certificate

no additional domain


But still no access possible.


Any tips for me?


Thanks!

Dominique

virtual Mac OS X Server-OTHER, OS X Mountain Lion (10.8.2)

Posted on Oct 24, 2012 1:58 AM

Reply
2 replies

Oct 25, 2012 2:48 PM in response to stephen.willis.smith

Hi,

I just bought MACOSX server 10.8 to centralise all my local domains in a real server.

Previsously I used to use hosts files and configured httpd files



Like that

127.0.0.1 website1.local

127.0.0.1 website2.local

127.0.0.1 website3.local



and in Vhost

<VirtualHost *:80>

DocumentRoot "/Users/xxx/Sites/website1"

ServerName website1.local

<Directory "/Users/xxx/Sites/website1">

Options Indexes FollowSymLinks

AllowOverride All

Order allow,deny

Allow from all

</Directory>

</VirtualHost>

<VirtualHost *:80>

DocumentRoot "/Users/xxx/Sites/website2"

ServerName website1.local

<Directory "/Users/xxx/Sites/website2">

Options Indexes FollowSymLinks

AllowOverride All

Order allow,deny

Allow from all

</Directory>

</VirtualHost>



Problem I need to acces on my local website on some computer. So I decided to use the DNS functions incudes into Macosx server.



But I can only declare 1 main domain and all vhost I want to add are not recognized when i add a new website from the interface.



Do you have a method to activate some multiples hosts ? Maybe a tutorial ?

Website configuration

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.