I own a VPS through GoDaddy and I just bought a second for my website. My goal is to have all of the .zip files hosted on this second server, and all of the scripts, forums, and images hosted on the other. At the moment the server holding the scripts and everything works fine I just can't figure out how to set the second server as a file host for my domain.
Ideally, I would like to have the second server be FILES.DOMAIN.COM while the first server is DOMAIN.COM. I have no idea how to do this x_x
how to make it so if the server that hosts my website receives too much traffic it will go to a mirrored copy of my website on another server? I want to make sure that it doesn't go down in the event of a big boost in visitors.
I have server A serving the website for my domain example.com and server B handling email for the same domain example.com.
Apart from one problem everything is working the way it should. The problem is that all email originating from server A (the one hosting the website) to someone@example.com is delivered locally (server A) and never gets out where it could be routed correctly to server B.
What needs to be done to deliver mail originating from server A to server B?
We have 2 linux servers directly connected by Gigabyte Ethernet. On a First server (192.168.0.1) we have a website (PHP5, Apache2), on the Second server (192.168.0.2) (CentOS 5 64bit, kernel: 2.6.22.9xe5u) we have MySQL 5.0 Database. A website from a Fist server connects to the database on the Second. The problem is that this system is very slow. We triet to move our website from First server to the Second and it works 50-300 times faster.
This is very strange, because when we print SQL queries of a website we see that some similar queries which are not dependent on a data or where there are very small amount of data, are executing in very different time.
For example:
SELECT t.*, tl.title, tl.content FROM site_tree_public AS t INNER JOIN site_tree_public_localdata AS tl ON t.id=tl.site_tree_public_id WHERE t.hidden='0' AND tl.lang_keyword='eng' ORDER BY parent_id, orderid 0.61763 after refresh 0.00365 another refresh 0.86579 another refresh 0.00302 another refresh 1.22748
Another example:
Four similar queries to four different databases (shemas), on one page load: SET NAMES utf8 0.00021 SET NAMES utf8 0.00012 SET NAMES utf8 0.00012 SET NAMES utf8 0.20491
When we moved website to the Second server these queries are executing in a good stable time.
Also some following problems were noticed:
1. While connecting to the FTP, server slowed down and sometimes connections were dropped
2. We tried to install Ubuntu unsuccesfully - the network didnt work at all, then we moved to CentOs 5
3. When we first installed CentOs 5 with standart kernel we had experienced problems with network (IP's aliases just didnt work) then we installed newer kernel and the problem was solved.
So the question is - what do you think about the problem? Did you use such a system - when a website is on one server and the database on the second? And what was the experience? Could it be kernel problems?
we think that it might be problems with kernel that dont work properly with network, please comment this.
But the problem is users also access emails by www.domain.com/webmail.
Now the MX record is pointing to one sever as we want to gather all the emails at one point. So how do I get the users to go to one particular server for the email? I was thinking to alter the email url to something like
www.mail.domain.com/webmail which only goes to one server.
Im setting up a website that will facilitate people to be able to upload and download files.
As you can imagine a lot of people will be downloading so i need unlimited bandwith.
Also require maybe 1tb of diskspace with the option to expand wen needed.
Im not sure how cpu intensive this is but if people can recommend me specs, companies i should be looking for with links that would be very much appreciated.
I need some expertise on how many servers we need for our site. Basically it is a flash interactive game where a heavy user might download 60-75 megs in a one hour session. Our hope is that we get lots of users, say around 1000 users an hour. Our current server is a AMD 3800plus dual core with 1 gig of ram. It is hosted through Aplus. I am just the programmer for the project and don't know anything in regards to servers, but my client wants to know if one server will be enough to handle the load of 1000 users an hour. Or should we run on multiple servers, etc.
I'm moving a large, 4 gig site between 2 servers (both have cpanel... if that's an option). Is there a way to do it quickly and correctly? How would I transfer such a large site?
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
If I type google.com in my address bar, it forwards me to www.google.com. This is not happening for my website right now. I think its a good idea to do this, since then search engines will have only 1 main URL for the website to index.
My question is:
How do I implement this? I think this may involve mucking with CNAME settings...
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP) 111.222.111.223 (Web Load Balancing IP) 111.222.111.224 (MySQL Load Balancing IP) If a connection is made to .223 it would pass the request to one of the web nodes. If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
I use Ian Lloyd's book and that's where I found out about this forum. Looks like a great forum.
I downloaded Fliezilla FTP and I'm trying to transfers files from my computer onto an angelfire web site.
Filezilla asks for a server address and I put in the URL address that I registered with angelfire. It then asks me for an administration password, and I put in my password to the angelfire site. I keep getting: Error: Connection to server lost...
Does anyone know what I'm doing wrong here? I would like to use Filezilla to upload my files (web pages) to the angelfire site.
I have a website which is currently hosted with streamline.net on their shared msql 11 server.
We have had several issues with them over the last few weeks where someone is using most of the server and slowing everyone elses sites down so much so they crash. This week and weekend are my busiest time of the year (I sell fancy dress) and my site it totally unuseable.
We have phoned them and they have done nothing except ask us for a log which we have provided for short periods of time.
The down time has now got so bad that I have had only 2 sales today. I estimate I am losing approx 400 per day at the moment due to this problem.
Is there anything that I can do urgently to prevent my business from being killed by someone else.
So I'm interviewing with a company and when I typed in the URL to their website, I was met with a nasty surprise: a "hacked by so and so" message! However, after looking closer, I see that I had accidentally appended a period (".") to the end of the domain name, for example: http://www.example.com./
When I removed the period, the site appeared as normal. I don't know anything about the server other than it's IIS. Is there anything I can suggest to them when I go in to interview? I'd like to point this out to them; it may even help my chances at landing the job! (It's not related to networking, though.)
Is it possible to buy a dedicated server off eg Dell and host your own website on it from home ie with a www prefix to the url- Do ye know any good tutorial on it. Would 20Mbit bandwidth be enough bandwidth for a fairly busy php ,mysql site? Completely new to this.
I have a domain name websiteexample.com and its hosted with somebody, I have built a new website under a new domain .co.uk on a new server and need to redirect my .com to the .co.uk, how the best way to handle this with serach engines in mind, I dont want to loose my .com listing if possible, is a framed forward a good way?
I want to have my email and website going to different servers:
At the moment i have it setup so that the nameserver records point to the ip of the website. That means that both site and mail go to the server where i host my site. I have then set up an mx record to point the mail to another server...
however can i make this split at the start?.. i.e. from the domain registar? can i set up an A record to point to the website and an MX record for the mail? instead of pointing them both to the website and then redirecting the mail to another server?
Just this week, I believe one of my site has been hacked...or potentially my whole server! When accessing the website (a vBulletin forum), instead of going to the main page, we get a screen that looks like Window's "My Computer" and there is a scan running. Firefox has blocked the site for suspicion.
I am stumped. Where to begin? I have full SSH access to my server (after rebooting it). Thank you in advance.
I have a wordpress site, and am trying to find someone good and reasonable price to design me a template for the website so I can still use wordpress but have access and control to everything.. I am going to buy a domain as well to hook wordpress up to it so I can edit themes etc.. I was looking at maybe using mmhosting..
Also, I have a forum, but not sure what type of forum I need to be able to arrange it and add and use features don't I can't now, so basically upgrade..
My site, as I said is wordpress but I want it to look like the forums I am using..
I'm thinking of starting a website that pokes fun at news stories and photos, but I'm a complete rookie at this. All the RSS feeds I found say they are free for non-commercial use. I want to be able to sell t-shirts and caps on my site, or at least advertising. Any ways to use current news and photos that are free or inexpensive?
I've discovered that a site of mine has being completely copied
The sites are in a different country
[url] [url]
The original site, that is still currently under construction with a lot of copy, rewriting and pages still have
[url]
Now, I don't mind someone taking inspiration or borrowing ideas. I'll admit as a web designer I have 1000's of book marks of sites that I've liked and will look at for ideas and inspiration, but I don't just download and put up.
Now as the sites are in a separate country I don't know yet if it is worth all the hassle as our customer base are separate, but I presume that having identical content means that google ranking could be damaged?