Sub Domain with different ports in Plesk [closed] - subdomain

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 months ago.
Improve this question
I am new to Plesk ( and virtual servers in general ). I have a server running CentOS and Plesk 12 and my domain and web site are working perfectly. At present I also have an instance of Dreamfactory running on port 82 (so access it at http://example.com:81 ) but I wondered if it were possible to setup a subdomain with plesk such as http://api.example.com that would load my dream factory instance without forwarding to http://example.com:81 (effectively masking the port number).

Open sub-domain's "Apache & nginx Settings" and add into "Additional directives for HTTP":
# for Apache
ProxyPass / http://example.com:81/
Or
# for Nginx
location ~ / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://example.com:81;
}
Like this for Apache:
Or like this for nginx:

Related

MySQL Workbench won't connect to AWS RDS DB. ERROR - "Unable to connect to localhost" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
This image shows the error pop up when I try to test the connection
Current Set Up: 2015 MacBook Pro. OS 10.15.7
Things that I have tried:
System preferences > MySQL > initialize setup.
Checked Username is correct on AWS RDS set up.
Checked the endpoint address.
Tested connection on a 127.0.0.0 database. Works fine.
Sounds like you have not configured the Security Group related to your RDS instance. You must set up inbound rules for the security group to connect to the database. You can set up one inbound rule for your development environment and another for Elastic Beanstalk (assuming you use that to host your app). Setting up an inbound rule essentially means enabling an IP address to use the database. Once you set up the inbound rules, you can connect to the database from a client such as MySQL Workbench. For information about setting up security group inbound rules, see Controlling Access with Security Groups.

Setting external ip on VM instead of internal [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I currently got a GCE vm, and by default I got a internal IP, and a external IP. The internal is configured on the machine, and external is setup with firewall configurations.
Trying to setup cPanel on this server, it always referes to the internal ip.
Is it possible to run GCE with the external IP on the instance/VM?
Thanks /Fredrik
Currently there is no way to map an external IP address to a GCE instance directly. All communication is NATed to the internal address.
You can, however, access the external address programmatically via the metadata server:
http://metadata/computeMetadata/v1beta1/instance/network-interfaces/0/access-configs/0/external-ip
I've never set up cPanel so I can't give you any guidance there.

ejabberd server domain field [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I tried installing ejabberd on my linux 12.04 machine but I am a bit confused as to what goes into the ejabberd server domain field. I put in localhost but when I start, it opens an error page. I installed using a binary file I downloaded from the process one website. Anybody knows what exactly should go into that field? Thank You.
Think of the domain name as the name that will serve you. For example, if you create a xmpp server for domain users inside your company example.com, the domain is example.com, since accounts with which users will be connected user1#example.com, user2 # example . com, etc. ..
A single server can serve different domains ejabberd.
As discussed ppolv, usually coincides with the name of your domain in your network, you can configure as well, for example, the DNS server SRV records required for the XMPP protocol.

Change pop/smtp settings for exchange server 2007 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I spend couple of hours on Microsoft exchange server and I couldn't figure out how I can change the smtp server/port and the incoming mail server. Keeping in mind we rely on a shared hosting for this purpose. Basically I'm using hostmonster for this purpose:
Outgoing Mail Server: (SSL): host216.hostmonster.com (server requires authentication) port 465
Incoming Mail Server: (SSL): host216.hostmonster.com IMAP: port 993, POP: port 995
Does anyone have any experience with such application?
On-premise Exchange doesn't have an out-of-box function to scrape the POP/IMAP data out of your host. You can relay through them, but, if you wanted the POP/IMAP mail to be retrieved by Exchange and cached in local mailboxes, you'd have to look for a third party add-on.
Exchange doesnt have POP3 support. The only solution was to use a third party addon: http://www.servolutions.com/popcon.htm

Bind address and MySQL server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I came across the bind address while trying to configure the MySQL server. The details of why I want to configure the bind address is in the link below.
Multiple hostnames and multiple privileges?
Now, I want to understand the purpose of the bind address. In the sense, is a binding address the address we assign to the machine that is hosting the MySQL server?
I have no clue. Would be really helpful if someone could explain me the purpose of it. Also, will assigning 0.0.0.0 to the binding address create any security flaws/loop holes?
The address you specify in bind tells MySQL where to listen. 0.0.0.0 is a special address, which means "bind to every available network".
Only client software which is able to open a connection to the server using the same address that is specified in the 'bind' option will be allowed to connect.
Some examples:
If MySQL binds to 127.0.0.1, then
only software on the same computer
will be able to connect (because
127.0.0.1 is always the local computer).
If MySQL binds to
192.168.0.2 (and the server computer's IP address is
192.168.0.2 and it's on a /24 subnet), then any computers on the same
subnet (anything that starts with 192.168.0) will be able to connect.
If MySQL binds to
0.0.0.0, then any computer which is able to reach the server computer
over the network will be able to connect.
These are all transport-level connections. Remote computers still need to qualify for application-level, which is to say they will still require the correct login credentials and host parameters from mysql.user.