LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-14-2012, 09:58 AM   #16
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by routers View Post
the ip is the machine ip you install bind
if you have 2 ip in the machine then submit both ip
one become ns1 and the other one become ns2

if you have another machine want to become ns2 is more welcome
mean you have ns1 and ns2 from diffrent machine this way more better
Okay, thank you for everything.
 
Old 10-14-2012, 12:05 PM   #17
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
It is now working but it is redirecting to main path instead of the path that I've set on httpd.conf, what can I do?

Last edited by Anderl; 10-14-2012 at 12:10 PM.
 
Old 10-14-2012, 12:15 PM   #18
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
looks good

Domain Name: NEOPLAYGROUNDS.COM
Registrar: INSTRA CORPORATION PTY, LTD.
Whois Server: whois.instra.net
Referral URL: http://www.instra.com
Name Server: NS1.NEOPLAYGROUNDS.COM
Name Server: NS2.NEOPLAYGROUNDS.COM

however remember to hold your time for propagation
 
Old 10-14-2012, 12:29 PM   #19
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by routers View Post
looks good

Domain Name: NEOPLAYGROUNDS.COM
Registrar: INSTRA CORPORATION PTY, LTD.
Whois Server: whois.instra.net
Referral URL: http://www.instra.com
Name Server: NS1.NEOPLAYGROUNDS.COM
Name Server: NS2.NEOPLAYGROUNDS.COM

however remember to hold your time for propagation
I know it's working already. The problem is that cp.neoplaygrounds.com redirects to the main path ( /var/www/ ) and not to the custom path I've set in httpd.conf. What can I do?
 
Old 10-14-2012, 12:29 PM   #20
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
i try to edit the page before but problem with this LQ now extra info for you
your dns looks good


[rou@mga ~]$ nslookup cp.neoplaygrounds.com 178.238.227.167
Server: 178.238.227.167
Address: 178.238.227.167#53

Name: cp.neoplaygrounds.com
Address: 178.238.227.167


its resolved
 
Old 10-14-2012, 12:34 PM   #21
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by routers View Post
i try to edit the page before but problem with this LQ now extra info for you
your dns looks good


[rou@mga ~]$ nslookup cp.neoplaygrounds.com 178.238.227.167
Server: 178.238.227.167
Address: 178.238.227.167#53

Name: cp.neoplaygrounds.com
Address: 178.238.227.167


its resolved
I think you didn't understand yet the problem: The problem is that cp.neoplaygrounds.com redirects to /var/www/ and not to /var/www/cp/www/. Do you understand now?
 
Old 10-14-2012, 12:38 PM   #22
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
Quote:
Originally Posted by Anderl View Post
I think you didn't understand yet the problem: The problem is that cp.neoplaygrounds.com redirects to /var/www/ and not to /var/www/cp/www/. Do you understand now?
yeah i understand i show u what i got

"Oops! Google Chrome could not find cp.neoplaygrounds.com"

this is happen when your dns just join global registry, please hold your time

however you can paste the httpd.conf container for that cp let me see
 
Old 10-14-2012, 12:46 PM   #23
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by routers View Post
yeah i understand i show u what i got

"Oops! Google Chrome could not find cp.neoplaygrounds.com"

this is happen when your dns just join global registry, please hold your time

however you can paste the httpd.conf container for that cp let me see
Oh, okay.

Quote:
however you can paste the httpd.conf container for that cp let me see
You mean, paste the httpd.conf code here for you to see it? Sure:

Quote:
Listen 90
NameVirtualHost *

<VirtualHost *>
ServerName neoplaygrounds.com
DocumentRoot /var/www/
</VirtualHost>

<VirtualHost *>
ServerName cp.neoplaygrounds.com
DocumentRoot /var/www/cp/www
</VirtualHost>
I got to change port in 'Listen 80' because with port 80 I got error of Apache.
 
Old 10-14-2012, 12:53 PM   #24
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
Quote:
Originally Posted by Anderl View Post
Oh, okay.



You mean, paste the httpd.conf code here for you to see it? Sure:



I got to change port in 'Listen 80' because with port 80 I got error of Apache.
i think you need to settle this one first dont be hurry
can you show me this result

# cat httpd.conf |grep 80
then we go one by one
 
Old 10-14-2012, 12:59 PM   #25
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by routers View Post
i think you need to settle this one first dont be hurry
can you show me this result

# cat httpd.conf |grep 80
then we go one by one
Nothing shows, I've tried that before.
 
Old 10-14-2012, 01:01 PM   #26
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
ok try now change back to 80 then stop and start apache, any error please post
 
Old 10-14-2012, 01:03 PM   #27
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Restarting web server: apache2 ... waiting (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
I get this.
 
Old 10-14-2012, 01:04 PM   #28
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
okeh something is using the port now execute this

# netstat -tanp |grep 80
show the output
 
Old 10-14-2012, 01:07 PM   #29
Anderl
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Nothing appears too.
 
Old 10-14-2012, 01:12 PM   #30
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
off iptables if you on
then execute
# setenforce 0

that 0 is 0123 not Orange

then start apache
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 6.2 - subdomain doesn't work and problems with making VirtualHost Gruszka1 Linux - Server 5 04-07-2012 08:50 AM
Google Hangout doesn't work, and Mplayer doesm't work without -ao alsa flagGoogle H ranban282 Linux - Software 0 02-20-2012 04:23 AM
Keyboard doesn't work right click on mouse doesn't work ramblinrick Linux Mint 2 10-15-2010 01:10 AM
Create webmail subdomain on Plesk master domain. (reserved subdomain) fruitwerks Linux - Server 0 08-11-2010 03:08 PM
logout in x doesn't work and nvidia doesn't boot Meriadoc Linux - Newbie 2 06-18-2004 12:32 PM


All times are GMT -5. The time now is 01:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration