Fedora Linux Support Community & Resources Center
  #1  
Old 31st October 2007, 08:18 PM
blckspder Offline
Registered User
 
Join Date: Mar 2005
Posts: 61
subdomain creation help

Hello,
I have setup a webserver with fedora 7, Everything seems to be working fine, but I am trying to add a sub domain and it doesnt seem to be working, I added it to the httpd.conf file as a virtual host nd I updated my hosts file as well... Perhaps I should be adding it somewhere else? or I have something configured incorrectly?

My domain is www.sono-test.com
the subdomain I want is panel.sono-test.com

The sub domain works if I am on the server itself accessing the web, if I use a regular client computer or I am outside the network I can't get to the subdomain.

Please let me know and thanks for the help.
Reply With Quote
  #2  
Old 1st November 2007, 03:22 PM
blckspder Offline
Registered User
 
Join Date: Mar 2005
Posts: 61
Here is what my conf file looks like for virtualhosts

NameVirtualHost [myInternalIPAddress]:80
<VirtualHost www.sono-test.com:80>
ServerAdmin asousa@sono-tek.com
ServerName www.sono-test.com
ServerAlias sono-test.com
DocumentRoot /var/www/html/sono-tek.com
ErrorLog /var/www/error/error.log
CustomLog /var/www/error/access.log common
</VirtualHost>
<VirtualHost panel.sono-test.com:80>
ServerAdmin asousa@sono-tek.com
ServerName panel.sono-test.com
ServerAlias panel.sono-test.com
DocumentRoot /var/www/html/sono-tek.com/controlPanel
ErrorLog /var/www/error/error.log
CustomLog /var/www/error/access.log common
</VirtualHost>

Like I said if I am acutally on the server, surfing the web I can see the subdomain page, but if I am on another computer or outside the network I can't, So i think it might be a DNS problem maybe, if anyone has any ideas let me know. thanks
Reply With Quote
  #3  
Old 3rd November 2007, 01:02 AM
savage's Avatar
savage Offline
Registered User
 
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
It is a DNS problem, there isn't a DNS record for panel.sono-test.com.
Code:
[savage@optimus ~]$ dig panel.sono-test.com

; <<>> DiG 9.2.4 <<>> panel.sono-test.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 9104
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;panel.sono-test.com.           IN      A

;; AUTHORITY SECTION:
sono-test.com.          3571    IN      SOA     sono-test.com. hostmaster.bestwe
b.net. 2007090701 3600 900 86400 900

;; Query time: 3 msec
;; SERVER: 192.168.0.10#53(192.168.0.10)
;; WHEN: Sat Nov  3 00:01:45 2007
;; MSG SIZE  rcvd: 95
Savage
Reply With Quote
Reply

Tags
creation, subdomain

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
subdomain with www IFahad Servers & Networking 3 26th October 2007 04:34 PM
Domain Name and Subdomain Name help trissmo Servers & Networking 3 28th February 2006 10:21 AM
Zone subdomain root Servers & Networking 1 19th November 2005 04:36 PM
How-To Subdomain root Using Fedora 0 30th October 2005 02:02 AM


Current GMT-time: 11:58 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat