Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have been tasked to add a copy of an existing website to the setup. (To be used as a test environment)

The existing setup consists of : a.mysite.com b.mysite.com c.mysite.com

I've been trying to add d.mysite.com but with no luck .. Setup: Debian 5.0 What I've done so far; copied the config file in /etc/apache2/sites-available of c.mysite.com Renamed name of file, ServerAdmin, ServerName, ServerAlias, DocumentRoot and the Directory to point to the new website's location.

ServerAdmin me@work.com ServerName d.mysite.com ServerAlias d.mysite.com DocumentRoot /var/www/mysite_d/ php_value error_reporting 6135 Options FollowSymLinks AllowOverride All Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all

Ran the command a2ensite succesfully Checked and verified that a sym link is present in /etc/apache2/sites-enabled It links to the config file of d.mysite.com in /etc/apache2/sites-available Reloaded and restarted Apache2

Result: The new website is not accessible, Chrome gives the typical 'Oops! Google Chrome can not find d.mysite.com'

Additional info: The other websites are working fine, for example c.mysite.com is accessible.

I really think I'm missing something very basic here. Thanks in advance !

share|improve this question

closed as off-topic by Jenny D, Dave M, mdpc, Ward, Scott Pack Oct 9 '13 at 16:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Jenny D, Dave M, mdpc, Ward, Scott Pack
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 2 down vote accepted

Sounds like you need to create a DNS record for d.mysite.com.

share|improve this answer
    
Could you elaborate where this should be done ? –  Gnagy Oct 5 '13 at 16:44
3  
@Gnagy - This is a site for professionals. As such, we expect people to be able to do a modicum or research on their own. Look into your DNS hosting situation and read about DNS in General and things should become clear. –  EEAA Oct 5 '13 at 17:58

The answer is simple. I had to add an A record to the DNS management section on the admin panel of our domain name provider.

I was searching in the wrong place.

share|improve this answer
    
In fact, you are correct. Will update to reflect this. –  Gnagy Oct 8 '13 at 14:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.