I been using plesk, and cpanel so this is the first time I have Webmin for my CentOS.
After some googling and reading, i able to install apache, mysqld and vsftpd (for some reason, my host (hivelocity) didnt install these. So this is my setup.
a.com: in godaddy, i add nameserver host as ns1.a.com and ns2.a.com and change the dns to point to that
b.com: in godday, point dns to ns1.a.com and ns2.a.com
BIND DNS Server
========================
I create two master zone for a.com and b.com
a.com
Code:
$ttl 38400
a.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
a.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
a.com. IN NS server.a.com.
mail.a.com. IN A 1.2.3.4
ftp.a.com. IN CNAME a.com.
www.a.com. IN CNAME a.com.
a.com. IN MX 10 mail.a.com.
b.com
Code:
$ttl 38400
b.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
b.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
b.com. IN NS server.a.com.
mail.b.com. IN A 1.2.3.4
ftp.b.com. IN CNAME b.com.
www.b.com. IN CNAME b.com.
b.com. IN MX 10 mail.b.com.
APACHE
========================
I created 2 virtual servers for a.com and b.com
/home/sites/a.com/html
/home/sites/b.com/html
I create an index.php in a.com/html with content: "a.com YEAH"
I create an index.php in b.com/html with content: "b.com YEAH"
After wait for dns to propogated,
when i try to go to a.com, content "a.com YEAH" shows up.
But when goto b.com, content "a.com YEAH" shows up? Why?
Also, when goto ns1.a.com, content "a.com YEAH" is there.
I also has problem with vsftpd but let fix that later.
I would like to setup a caching Bind nameserver for which I need to modify the file /etc/named.conf. The file is automatically created by Plesk however and I am unable to find information on how to modify the file in Plesk.
Code: #ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED. // $Id: named.conf,v 1.1.1.1 2001/10/15 07:44:36 kap Exp $
Which one would you consider using the most? Currently I use vsftpd and while it's fast and light, it's a real pain in the butt to add new users I've found (adding shell users except it doesn't always work). I was reading up on how to add users on pure ftp and they had something called virtual users which looked really nice...
3. I setup vsftpd with chroot to each virtual host.
This works very nice as long as each client has only one ftp account. But if a client(website1) wants to have multiple ftp accounts( ex. john, john100, john200), they would mess up the file ownership when they upload and change files. Since suPHP executes PHP scripts with the permissions of their owners (suPHP_UserGroup John group1, suPHP would complain their setid is mismatched because the John100 is not the suPHP_USERGROUP owner(John). I have tried Virtual Hosting with Vsftpd and Mysql, that didn't work because all the virutal users would be acting as one user (guest_username=virtualftp) when they upload and change files. I am wondering if there is ways to allow multiple ftp accounts for each Virutal host working together with suPHP. Or It is possible for ftp user to change ownership once they log in.
I have been pulling my hair out all day trying to fix this issue, which should be simple in theory.
Basically in summary, vsftpd is running on the server, I can't connect to FTP from my own computer.
I have tried many things, but right now the way it stands is my vsftpd.conf file has listen=YES. I did a netstat -pan, with a return of: tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 29984/vsftpd
I can telnet/FTP into port 21 locally, so vsftpd is indeed running properly, but I cannot connect from the outside at all. I have also commented out everything in /etc/hosts.allow.
At this point, I am out of ideas. And to top it all off, I'm on a tight deadline. Usually works out there way doesn't it?
working with Ubuntu (and unix/linux) in general. I have, however, managed to install vsftpd and configure it in what I believe is a correct manner.
However, upon attempting to upload a file, I get a "could not create file" error which seems to imply that I don't have permission. The account that I'm logged in under is an administrator account.
With Red Hat Enterprise Linux 4 (RHEL 4), are updated packages made available, or are only security patches backported? Specifically I'm interested in vsftpd. Version 2.0.1 is included in the RHEL installation on a server I'm working on, but there is a bug fix in v2.0.4 that I'd like to get access to.
Is there an easy way for me to browse / search what packages are available for RHEL 4, preferably via website?
I have a RHEL 4 plain server, and im using vsftpd server, i can not find an option to specify the max size for uploading files... does anybody know something about this?
my box has 2 ip's on it. venet0 and venet0:1. Apache is binding to both ip's. I only want it to bind to one IP and leave the other one free (on port 80 at least), before i go in and edit the apache config files by hand, is there any way to ensure i dont break anything in cPanel by doing this (i.e. are there any dependencies or does cPanel even have an intermidiate config for doing this)?
When I open my site in a browser and I point the URL to specifically // ipaddress / location A it's all good. (Apache Server)..My problem is, if you open the site in a browser with just the IP address alone it goes there for a second and then automaticlly goes to and opens the other site in location // ipaddress / location B.
However, what I need it to do, I think, is edit the apache conf file to make it open location A as the default. What do I need to do in the apache (httpd-conf) to fix that? For that matter is that the right file to edit?
Right now I am using the built-in cpanel backup feature to backup all the accounts on my server to an offsite FTP backup account I have on a weekly basis. The problem I am having is that everytime the backup runs, the load (thats what I'm guessing is the cause) is crashing apache/bind, causing sites to be unreachable until I can restart the services. What options do I have to resolve this issue? Currently I already have spri installed, and it does help out a bit, but its still not enough.
Im using AJAX on my site and i need to access a seperate server instance on a different port. AJAX wont allow me to do that so i want to use Apache as a proxy but only for one page.
I have a fresh Ubuntu 14.04 install (desktop). I installed Apache, php and mysql from APT and updated everything.I tried to setup a virtual host using these directions: URL...I followed them to the letter:
o I created a folder /var/www/mydomain.local/public_html o I copied the 000-default.conf in sites available and modified it o I added mydomain.local to my hosts file (with IP of 127.0.0.1 o I used a2ensite to enable the host o I used service apache2 reload
When I went to mydomain.local in firefox, it took me to the default host main page.I tried a restart of the service and even a reboot of the computer. No change.On a theory, I used a2dissite to remote 000-default from the enabled site list and reloaded the service. I got the home page for mydomain.local after that.
I created a named host called localhost and reloaded the apache. When I went to http://localhost it took me to the mydomain.local homepage. Rebooted the computer. Now, localhost gives me the apache default home page and mydomain.local does not work at all (I get a server not found).
I get the feeling that there is an apache configuration item I am missing but I cannot find it.
I am struggling with this all the day, no answer i found here as well. how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain. Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).
I am using Apache 2.4 and Jboss 7.1 on Windows server 2012 server. requirement is to have SSL offload in place for communication between Apache to Jboss. Apache will be secured to handle client requests from Apache onwards all servers in trusted zone hence there is offload requirement.
I installed apache, mysql, php on my windows vista laptop, and want to test http downloading. This means when selecting a file (for example, contact.php) from a page, and then click download, it will be downloaded to my desktop.
Do we need to install any other softwares to do that?
Does anyone know how to install the Frontpage Server Extensions on an Apache server which is running on a Windows box? I've searched around including on Microsoft's site, but I was only able to find info on how to configure for Apache running on unix/linux.
Its a dedicated unmanaged server that has windows 2003 and apache running. I heard you need IIS to enable SMTP on a Windows machine but I don't want to run IIS because I feel Apache is better.