HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Beginner needs help. (http://www.howtoforge.com/forums/showthread.php?t=56555)

tjw 15th March 2012 06:19

Beginner needs help.
 
Hello all. I've installed centOS on my home server hoping to create a dedicated website for my home. I followed the easy and beginner friendly guide created by Falko, The Perfect Server - CentOS 6.2 x86_64 With nginx [ISPConfig 3]. Installation was simple. It is running fresh on my comp under a domain name purchased and configured to forward to the external ip address of my server.

I am just having issues finding how to edit the html files without using a command prompt to manually type my index.html page. How do I use ispconfig to edit these settings. keep in mind I am semi-new.

till 15th March 2012 08:54

Quote:

I am just having issues finding how to edit the html files without using a command prompt to manually type my index.html page. How do I use ispconfig to edit these settings.
1) Login to ispconfig, go to the sites module and add a new ftp user for the website.
2) Get a FTP program, w.g. fireftp and upload or edit your website.

sjau 15th March 2012 08:54

I'm not sure what you're trying to achieve / edit.

tjw 15th March 2012 09:07

Quote:

Originally Posted by till (Post 275532)
1) Login to ispconfig, go to the sites module and add a new ftp user for the website.
2) Get a FTP program, w.g. fireftp and upload or edit your website.

This sounds right. Going to try it out. I did not realize it was a seperate application. I was looking for some sort of editor in ispconfig... Excited to get to work on it soon. Thanks for the reply.

Quote:

Originally Posted by sjau (Post 275533)
I'm not sure what you're trying to achieve / edit.

Editing the website. Thanks for the reply.

tjw 16th March 2012 07:22

stuck again
 
Hello. I wasn't sure if I should create a new thread or not as I have another question but unrelated to the first post. Anyways, I decided to just reply...

I decided to start fresh with a new install of everything (following falko's guide again) as I had messed around a lot with my last install just testing things and experimenting. Long story short, I figured a reinstall would be quicker than going though and resetting/deleting everything I shouldn't have installed or changed.

So once again, perfect install. no problems there. I have a fresh install, I did everything I had learned from the last one but I'm just missing something. When I go to my website lets say example.com, I get the blue "Welcome to nginx on EPEL!" page rather than the green page I think I should have gotten. So when I uploaded my website, it only displays the nginx page.

I know I'm just missing some minor step but Ive been searching for hours and nothing has come up, nor can i remember what I did before... :/

Thanks ahead of time.

admin 16th March 2012 15:22

You should select a specific IP address in the IP address field instead of *. You can add IP addresses under System.

tjw 17th March 2012 01:40

Doesn't seem to have worked. I added the ip address 192.168.0.111 (I use 192.168.0.110 as my machines local ip)and changed my website IPv4-Address to 192.168.0.111. Then I went into my system and added eth0:0 (as instructed by Falkos ISPconfig manual) configuring it as the guide instructed me. (My eth0 had several more options than the example did).

Not sure if I did that right, nothing changed when I visit my site. Additionally, when I type ifconfig it displays "interrupt: 23" after eth0 and eth0:0. I do not thing this came up before adding eth0:0 but I'm not sure.

falko 17th March 2012 11:12

Can you post the
Code:

ifconfig
output?

Does the domain's DNS record (or the hosts file entry on your client PC) to 192.168.0.111?

tjw 17th March 2012 11:25

Code:

[root@tj ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:F3:48:27
          inet addr:192.168.0.110  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fef3:4827/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5651 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:621356 (606.7 KiB)  TX bytes:253892 (247.9 KiB)
          Interrupt:23

eth0:0    Link encap:Ethernet  HWaddr 00:E0:4C:F3:48:27
          inet addr:192.168.0.111  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:23

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4974 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:737486 (720.2 KiB)  TX bytes:737486 (720.2 KiB)

[root@tj ~]#


Not sure if this is needed either but my /etc/hosts file is the following

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.0.110 tj.server.com tj
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

Should I add one for 192.168.0.111?

I would guess adding the following line

"192.168.0.111 'example.com'" //where example.com is the domain name for the site

falko 18th March 2012 21:09

Quote:

Originally Posted by tjw (Post 275671)
I would guess adding the following line

"192.168.0.111 'example.com'" //where example.com is the domain name for the site

You must add this to your client PC's hosts file: http://www.howtoforge.com/forums/sho...s+file+windows


All times are GMT +2. The time now is 12:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.