Tag Info

Hot answers tagged

2

You will need to forward the port(s) on your router, to the box you are hosting the site from.


2

You have to create a separate A record in your mydomain.com's DNS zone file to point your subdomain to your VPS's IP. subdomain A 5.6.7.8 If you want, you can add the complete hostname subdomain.domain.com as long as it is followed by a . (dot). subdomain.domain.com. A 5.6.7.8


2

Edit: Your problem is your DNS configuration, nginx isn't involved. There is no host defintion for www.fionacreative.co.uk, but there is one for fionacreative.co.uk. Original based on malformed question You have example2.com defined twice, you need to add www to one of the server names to work, likely the first definition. server { # don't forget ...


1

It looks like your first virtual host points to the domain1 directory. Loading the IP, with those two virtual hosts in that order, would load the domain1 directory. To change that you can just swap the order they are listed in.


1

You need to add DNS records for crazywebsite.com www.crazywebsite,com forum... www.forum... to your DNS zone in the GoDaddy control center, e.g. with an A record for crazywebsite.com and CNAMEs for everything else, pointing back to crazywebsite.com (but four A records would also work). Instead of adding two vhosts per site (/website and /forum), you ...


1

You may want to consider something like this. Its been a while since I've used Tomcat, but I do something very similar for a node.js application. In my scenario, the document root is taken care of by node - that may be the case with your Tomcat configuration as well, but you can test and if not, pretty easily just add a DocumentRoot imperative as needed. ...


1

Now I want to serve my Node.JS on the domain www.example2.com. Both pages should be on the same server, the Node.JS app should be running on port 3000. How do I achieve this? There are two steps. You need to create a virtual host in apache listening on IP:3000 and responding to requests for example2.com You need mod_proxy running to take requests for ...


1

I solved it. The page on the original question gives a good advice however it doesn't seems complete. To achieve this configuration do the following: -Locate the file httpd.conf on your Apache folders (usually on apache2/conf). -Add the following lines to the end: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module ...



Only top voted, non community-wiki answers of a minimum length are eligible