I'm not that good at IPTables so bare with me. I think I got the rules correct though but it doesn't work Here is what I am trying to do.
I have a server at let's say 111.222.11.10(I will call this server A) and another at 111.222.11.20(I will call this server B).
These servers are in same datacenter.
What I am trying to do here is when a user accesses port 2000 on server A, I want server A to forward/proxy the port to 2000 at Server B. I have tried the following so far.
Non of them worked.
iptables -A FORWARD -i eth0 -p tcp --dport 2000 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 2000 -j DNAT --to-destination 111.222.10.20:2000
Yes, I have done service iptables save and start.
Also iptables -F
commands to log packets temporarily for a certain udp port with the IP information ect.
Any help would be appreciated. As for what I am doing, I am trying to find anything wierd or something that stands out from the packets sent from external IP's to my server.
I was wondering if it is possible to host subdomains on different VPS's? Here is what I am trying to do
PrimaryDomain.com -> Hosted on VPS0 | - Subdomain1.primaryhost.com -> Hosted on VPS1 | - Subdomain2.primaryhost.com -> Hosted on VPS2
VPS0, VPS1, VPS2 have different IP addresses.
I tried using A records to point subdomains to different VPS but VPS requires a "primary domain" looks like. Do let me know if this is possible. I tried google but not sure what exactly I shoudl be searching for.
I have a new domain for an online store which I am trying to map to a certain web server(launchsplash_com) for just their Launch Page to show up as homepage when my website is accessed (the ecommerce software has its own default homepage, which I prefer not to show up). The registrar for the domain is Godaddy but hosting is done with a different company - Server Intellect.
The issue is mapping my domain to Launchsplash's server does not seem to work. And I am not sure if I am doing the right settings through the host control panel. As per LaunchSplash company's instruction - I create a CNAME record name - www_mydomainname_com and CNAME record data - mydomainname_LaunchSplash_com
Since the domain is not being hosted with Godaddy, the total dns control for making dns changes is disabled in godaddy control panel.
I do not wish to do the forwarding option, since that shows up the forwarded domain name.
If you want to use several domains for your single website, from SEO-reasons or from any other reasons (which?) is it better to forward your domain to that sub-domain or should it be mapped in the DNS in CNAME?
It's not the same issue like with Google Apps, whether you should use your own domain, e.g. sites.yourdomain.com or whether you should use the domain offered by Google for your Sites. The reason is that theotherdomain.com is a part of the single website called yourdomain.com, thus, it is not an external website hosted somewhere else.
i currently have a site on a .co.uk domain. my client would like the "main" domain to be .com instead. I should add that BOTH .com and .co.uk will be used.
The company is advertising itself as thesite.com, so people will associate the business with www.thesite.com, not .co.uk.
I have both domains, and I understand domain mapping is used for this purpose, but before I go and screw up anything, could someone please clarify.
Is it possible to "domain map" so that visitors go to www.thesite.com, they will see the website as .com, but the site itself will actually be on the ".co.uk" server.
I don't particuarly want to transfer the site from the .co.uk to the .com and set up a redirect.
I know I could use a redirect .com to .co.uk, but the client specifically wants ".com" to be the site visitors view. (they bought .co.uk and set the site up first, just to be annoying)
just restored a server from an rsync backup. problem now is that i have a couple of hundred accounts all under root, when they're supposed to be resellers and sub accounts of resellers.
any idea if its just some file which contains all the mappings or do i need to go through all these hundreds of accounts and reassign them?
I already mapped my IP address to a domain but when I tried to access http://myipaddress it still show the LX Admin Default page instead of my site. How can i fix that?
Currently my companies global website “domain.com” is hosted in a shared hosted environment, our own U.S. website “us.domain.com” is hosted at our datacenter.
Here is my question, we have a redesign project. My goal is to lose the “us.domain.com” sub-domain and move our new U.S. site under the "domain.com" domain using a “/us/” folder delineation.
Is it possible with modern web server technology to setup a something like virtual directory/folder, redirect, alias or remote mapping of the “/us/” folder that points to a separate server hosting our U.S. site outside of shared hosting environment for our "domain.com" site, e.g.?
• Domain.com/<global website content/structure > - Hosted at in a shared environment on Web App Server running Coldfusion • Domain.com/us/<U.S. website content/structure> - Hosted at our datacenter on Web App Server running IBM WebSphere
Unfortunately I cannot merge the two sites together based on the web server technology and lack of budget/resources to accomplish.
any idea if this is possible? basically what i'd like to do is make a "virtual folder" in my linux box that is actually a connection to an ftp account on another server.
so for e.g. if i say cd /myftp it'll show the contents of that directory as though it was a standard folder, however it is actually connecting to some other machine via ftp?
I used to have a server which had domain mapping via wordpress... a friend of mine had this up for me and every time I added a new website to the same server/ip-address, I just modified the .htaccess for example:
So I have question regarding apache on windows and hard drives.
I have a virtual rack what i connected all my servers upto, Then I mapped all my servers hard drives together so they can all communicate and share data from each other.
But I have apache installed on 1 server hard drive C:/
Can I run apache from that mapped hard drive on the other servers ? Or would that cause problems ?
Also they are all windows 2008 running the latest apache from here.
I need a shared host account that can support wildcard mapping of all HTTP requests through the ASP.NET engine. This is required in order to fully support the UrlRewriting techniques I want to use. Anyone know of any affordable hosts that can support this? Of course, as my site grows I'll consider upgrading to a VPS (and further depending on the growth).
Currently I am using Linux + cPAnel and using the port 25 for email sevrer. Currently we facing 1 problem is, some user's ISP is not support port. May I know how can I add additional port into server and allow users to send mail by different port?
I have an office internal website and I opened a port in the gateway of my office (7080) to this website (server )'s 80 port. That makes this website open to public as office has static IP. And then when I view the site from home . it's fine. But when I tried to login, the site is using a pop-up, I guess it's http authentciation, login, I was redirected to a url without my port number any more, that stops my access to the site as obviously I would.
I am experiencing a strange problem with iptables: after in activate them, they are gone in a few minutes. For example, I drop traffic from an ip and after few seconds, all rules are flushed without touching anything!
If I keep getting spam from a certain IP, can I add that IP to Iptables? Will it stop me receiving spam from that IP? I'm not quite sure how it all works.
Or what is the most effective method to stop spam?