I have a subdomain of my site pointed to a rails app at mysite.herokuapp.com. I bought a certificate from godaddy and seem to have that all set up correctly.
I have Server A which hosts www.mysite.com
I want to create and host a site on Server B, but configure it to: www.mysite.com/theSiteAtServerB
TheSiteAtServerB is a completely different site from www.mysite.com and is on a completely different server but the client wants to use www.mysite.com and serve the content for TheSiteServerB under the same url.
Is this at all possible?
On one part of our site we have a section with a bunch of url's formatted like so:
http://mysite.com/section-name/?feed_id=1334
They are a list of a dozen individual links that are presented like:
<a href="http://mysite.com/section-name/?feed_id=1334">Article Title of Some Sort</a>
<a href="http://mysite.com/section-name/?feed_id=1333">Different Title</a>
I can see Go
I have edited my apache vhost file in /etc/apache2/sites-enabled to add the following:
<VirtualHost *:80>
ServerName www.mysite.cn
ServerAlias mysite.cn *.mysite.cn
DocumentRoot /home/user/static/mysite/cn
</VirtualHost>
It still points to the default site on the server when i browse to mysite.cn but when i enter anything along the lines of ww3.mysite.cn it point to the new correct
dudes, how can I turn this file:
ops01.mysite.com /dev/mapper/sys-home 7700480 602202 7098278 8% /home
ops01.mysite.com /dev/mapper/sys-tmp 512000 471 511529 1% /tmp
ops01.mysite.com /dev/mapper/sys-var 512000 3236 508764 1% /var
ops01.mysite.com /dev/mapper/sys-home 58G 26G 30G 47% /home
ops01.mysite.com /dev/mapper/sys-tmp 3.9G 2.3G 1.5G 61% /tmp
ops01.mysite.
I have website content like
mysite.com/index.php
mysite.com/apps
Now I want to put a maintenance page so people who will visit to mysite.com or mysite.com/index.php will able to see maintenance page however visitors will go to mysite.com/apps or mysite.com/apps/index.php will not redirect to maintenance page.
I already tried these:
This is redirecting both root and subfolder to maintenance pa
I'm interested in running a reverse proxy with 2-3 virtual machines behind it.
Thought I would see if anyone can help with this apache2 set up running on ubuntu server 12.04.
I have set up my virtualhost files as:
<virtualHost *:80>
ServerAdmin webmaster@mysite.com
ServerName www.mysite.com
ServerAlias mysite.com
DocumentRoot /var/www/myfiles
</VirtualHost>
I have tried to reverse the Name and Alias but cannot connect using www.
I've looked at many SE threads and done various google searches and can't figure out why i can't redirect www.mysite.com to mysite.com on my nginx server.
The 1st server block does the http://mysite.info -> https://mysite.info redirect as you'd expect.