 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

12th November 2008, 04:02 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
|
No internal access
Ello all.
So i have wordpress.org all installed and somewhat working. Since i can not test it externally because our works router and firewall do not have a hole punched through for my server. So i try to test it internally via LAN ip address.
On my own webserver i type http://192.168.0.225/wordpress OR i can type http://127.0.1.1/wordpress
it takes me right to the website.
However, if i go to another machine with in the same network and type the same address, its a no go. I get no server found BUT if i type http://192.168.0.225, it will take me to the apache index screen and then i click on wordpress and no go. Only on the webserver will it work.
that is my first question. my second is like so
With in the /var/www folder i have the sub folder wordpress. So i always have to type http://1270.1.1/wordpress. Now since i have my domain name registered with dyn dns for free. Will they have to type my domain name + /wordpress or will syncrasy.blogsite.org take me right to the wordpress site OR will it take me to my http://127.0.1.1 index of apache site?
thanx guys.
Matt Thomas
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
|

12th November 2008, 04:52 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229

|
|
|
Your first Q, I have no idea, if you can access it from another machine using 192.168.0.255, then the firewall is setup right, maybe wordpress uses some kind of hostname verification? I've not used it, so unsure.
With the /wordpress issue, if you're only hosting wordpress, you can change the document root in /etc/httpd/conf/httpd.conf to point to /var/www/wordpress should do the trick.
|

12th November 2008, 05:35 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
Quote:
Originally Posted by savage
Your first Q, I have no idea, if you can access it from another machine using 192.168.0.255, then the firewall is setup right, maybe wordpress uses some kind of hostname verification? I've not used it, so unsure.
With the /wordpress issue, if you're only hosting wordpress, you can change the document root in /etc/httpd/conf/httpd.conf to point to /var/www/wordpress should do the trick.
|
its wierd because in this screenshot you can see that i am at the webserver:
but as soon as i click on the folder wordpress. i get this error:
notice how the address changes as well
thanx
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
|

12th November 2008, 05:48 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473

|
|
|
Check the wp_options table in your wordpress database for option_id 1 and 40. There is where wordpress will state what address it will use. That may help.
Have you set up your apache config file to allow any IP on port 80 access?
__________________
Registered linux user: #475337
Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
|

12th November 2008, 05:51 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
Quote:
Originally Posted by neogranas
Check the wp_options table in your wordpress database for option_id 1 and 40. There is where wordpress will state what address it will use. That may help.
Have you set up your apache config file to allow any IP on port 80 access?
|
I knew you would find me. LOL
how do i veiw the wp options?
also i dont think i have configured my apache to accept any IP on port 80. how does one accomplish this?
thanx again dude.
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
|

12th November 2008, 06:05 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473

|
|
For wordpress:
You should have phpMyAdmin installed, if not sudo apt-get install phpMyAdmin. Yess the captial M and A are important. Otherwise it will tell you not to use them. Either way, once it's installed go to:
Code:
http://localhost/phpMyAdmin
And that will allow you to administer MySQL databases through a web based GUI. You can use that to select the database, then the table. From there you should be able to click a pencil icon for that entry to edit it.
As for allowing any IP on port 80, in you apache config file you should have something like this:
Code:
ServerName syncrasy.blogsite.org:80
and
Code:
NameVirtualHost *:80
That should allow anything to come in on that port to your server.
__________________
Registered linux user: #475337
Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
|

12th November 2008, 06:14 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
|
well i dont have our firewall configured yet to allow external access. I just want internal right now to make sure that it is working properly. i do have phpmyadmin and thats what i used to set up the DB. i followed the online instructions from wordpress.
syncrasy.blogsite.org is my correct domain for my home public IP but my server is at work for the moment untill i know that it will work properly via internal.
i will add the codes you told me to from this thread and the other thread.
thanx
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
|

12th November 2008, 06:23 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
so the address in phpmyadmin under the options id 1 is set to http://localhost/wordpress
does it need ot be set to something else?
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
|

12th November 2008, 06:28 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473

|
|
|
That means that anytime any computer tries to view your website, it will redirect them to look on their own machine. Change that (for now) to the network address you have for the server, 192.168.0.225
It worked on your server with that address because the wordpress install was indeed on that machine.
__________________
Registered linux user: #475337
Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
|

12th November 2008, 06:44 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
Quote:
Originally Posted by neogranas
That means that anytime any computer tries to view your website, it will redirect them to look on their own machine. Change that (for now) to the network address you have for the server, 192.168.0.225
It worked on your server with that address because the wordpress install was indeed on that machine.
|
that didnt work. my whole theme is missing and all i have is text.
i added this:
VirtualHost *:80>
ServerAdmin mattswork@comcast.net
DocumentRoot /var/www/wordpress
ServerName syncrasy.blogsite.org
ErrorLog /var/log/domain/error_log
CustomLog /var/log/domain/access_log common
</VirtualHost>
to the very bottom of my apache2.conf and no it fails to load. i think it is in the wrong spot.
here is where i put it:
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
VirtualHost *:80>
ServerAdmin mattswork@comcast.net
DocumentRoot /var/www/wordpress
ServerName syncrasy.blogsite.org
ErrorLog /var/log/domain/error_log
CustomLog /var/log/domain/access_log common
</VirtualHost>
thanx. So when i have this fully up and running. I need to chnage id 1 back to local host OR to syncrasy.blogsite.org?
thanx dude
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
Last edited by LT72884; 12th November 2008 at 06:50 PM.
|

12th November 2008, 07:04 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473

|
|
|
But it came up without the theme on all the other computers on your network?
When it's up and running, you'll want to change it to the external address you want to have for your blog, syncrasy.blogsite.org
__________________
Registered linux user: #475337
Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
|

12th November 2008, 07:12 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
Quote:
Originally Posted by neogranas
But it came up without the theme on all the other computers on your network?
When it's up and running, you'll want to change it to the external address you want to have for your blog, syncrasy.blogsite.org
|
actually no. it did not bring it up. my webserver is the one where the theme died.
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
Last edited by LT72884; 12th November 2008 at 07:17 PM.
|

12th November 2008, 07:17 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473

|
|
|
Have you logged into your wp-admin page to make sure it selected a theme? Sometimes when you monkey with the database stuff it can mess up what theme is selected.
__________________
Registered linux user: #475337
Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
|

12th November 2008, 07:20 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 418

|
|
Quote:
Originally Posted by neogranas
Have you logged into your wp-admin page to make sure it selected a theme? Sometimes when you monkey with the database stuff it can mess up what theme is selected.
|
it wont let me log in. i enter the user name and password and it says done at the bottom right hand screen.
i added http://192.168.0.225 first but that didnt work so then i did
http://192.168.0.225/wordpress and my theme came back BUT now other machines cant see my page again.
i still cant log in with my user name and pass word. this is so trippy
__________________
I really need to get a gurl whos last name doesnt end with .jpg.
yours truely,
A substitute for human interaction AKA LT72884
|

12th November 2008, 07:23 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473

|
|
|
That is really odd. I've never messed with wordpress on a network like that so I don't know what to say. Try changing the database entries to you localhost and see if it works again on the server. If it does, it may just be how wordpress is coded and won't really work like that.
__________________
Registered linux user: #475337
Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 21:17 (Tuesday, 18-06-2013)
|
|
 |
 |
 |
 |
|
|