Current time: 11-23-2024, 02:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
Ok I have some problems and questions
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #31
RE: Ok I have some problems and questions
"apache2 -S" always helps to see what vhosts are configured and where the default is.
04-17-2008 03:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
samducker Offline
Junior Member
*

Posts: 24
Joined: Apr 2008
Reputation: 0
Post: #32
RE: Ok I have some problems and questions
which subdomain should 00_master.conf file have... as it has the admin subdomain at the moment
04-17-2008 03:29 AM
Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #33
RE: Ok I have some problems and questions
samducker Wrote:which subdomain should 00_master.conf file have... as it has the admin subdomain at the moment

It's right if you want to use admin.straw............

What is happening when you visit admin.straw.......?
04-17-2008 03:32 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #34
RE: Ok I have some problems and questions
I have this when running "apache2 -S"

Code:
the awstat/proxy (127.0.0.1)
...
1.2.3.4:80         is a NameVirtualHost
         default server adminpanel.abc.xy (/etc/apache2/sites-enabled/00_master.conf:8)
         port 80 namevhost adminpanel.abc.xy (/etc/apache2/sites-enabled/00_master.conf:8)
...
and then the customer sites

so the adminpanel.domain is also the default page.

/J
04-17-2008 03:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
samducker Offline
Junior Member
*

Posts: 24
Joined: Apr 2008
Reputation: 0
Post: #35
RE: Ok I have some problems and questions
could not connect to server
04-17-2008 03:33 AM
Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #36
RE: Ok I have some problems and questions
; <<>> DiG 9.4.1-P1 <<>> admin.strawberrymilkshakes.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 9752
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;admin.strawberrymilkshakes.co.uk. IN A

;; Query time: 868 msec
;; SERVER: 149.254.192.126#53(149.254.192.126)
;; WHEN: Wed Apr 16 18:34:02 2008
;; MSG SIZE rcvd: 50


Looks like it isn't resolving. DNS issue most probably.

Please note I'm currently using a dodgy 3G connection so results may not be accurate
(This post was last modified: 04-17-2008 03:36 AM by rsmithgs.)
04-17-2008 03:35 AM
Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #37
RE: Ok I have some problems and questions
unless its milkshake:

; <<>> DiG 9.4.1-P1 <<>> admin.strawberrymilkshake.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25622
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;admin.strawberrymilkshake.co.uk. IN A

;; AUTHORITY SECTION:
strawberrymilkshake.co.uk. 230 IN SOA ns.hosteurope.com. hostmaster. strawberrymilkshake.co.uk. 2004112903 86400 3600 1209600 86400

;; Query time: 156 msec
;; SERVER: 149.254.192.126#53(149.254.192.126)
;; WHEN: Wed Apr 16 18:38:38 2008
;; MSG SIZE rcvd: 113


Still not right though.
04-17-2008 03:39 AM
Find all posts by this user Quote this message in a reply
samducker Offline
Junior Member
*

Posts: 24
Joined: Apr 2008
Reputation: 0
Post: #38
RE: Ok I have some problems and questions
I reinstalled apache and it seems to be working Smile
04-17-2008 03:41 AM
Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #39
RE: Ok I have some problems and questions
Seems to work now, I think you may have a problem with NS2.strawberrymilkshakes.co.uk though
04-17-2008 03:46 AM
Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #40
RE: Ok I have some problems and questions
Weird that reinstalling Apache fixed it as dig is now displaying the following for admin.strawberrymilkshakes.co.uk

; <<>> DiG 9.4.1-P1 <<>> admin.strawberrymilkshakes.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42849
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;admin.strawberrymilkshakes.co.uk. IN A

;; ANSWER SECTION:
admin.strawberrymilkshakes.co.uk. 42828 IN A 91.121.134.106

;; AUTHORITY SECTION:
admin.strawberrymilkshakes.co.uk. 42828 IN NS ns2.admin.strawberrymilkshakes.co.uk.
admin.strawberrymilkshakes.co.uk. 42828 IN NS ns1.admin.strawberrymilkshakes.co.uk.

;; ADDITIONAL SECTION:
ns1.admin.strawberrymilkshakes.co.uk. 42828 IN A 91.121.134.106
ns2.admin.strawberrymilkshakes.co.uk. 42828 IN A 213.186.33.99

;; Query time: 954 msec
;; SERVER: 149.254.192.126#53(149.254.192.126)
;; WHEN: Wed Apr 16 18:50:42 2008
;; MSG SIZE rcvd: 134

So seems the issue (from what I can see) was DNS and that reinstalling apache was coincidental.

Would still check your NS2 though.
04-17-2008 03:52 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)