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?
How do I redirect requests coming to http://blog.mysite.com to http://mysite.com/blog?
Reading the apache docs on when not to use the rewrite mod, I tried a simple redirect e.g.
Redirect http://blog.mysite.com http://mysite.com/blog
But when I visit http://blog.mysite.com, it doesn't redirect me. Any suggestions?
How would I remove all .html extensions as well as any occurrences of index.html from a url string in Nginx
http://www.mysite/index.html to http://www.mysite
http://www.mysite/articles/index.html to http://www.mysite/articles
http://www.mysite/contact.html to http://www.mysite/contact
http://www.mysite/foo/bar/index.html to http://www.mysite/foo/bar
Hi i have a website as www.mysite.com and it has following pages
www.mysite.com/news
www.mysite.com/photo
www.mysite.com/download
how can i point
news.mysite.com to www.mysite.com/news
photo.mysite.com to www.mysite.com/photo
download.mysite.com to www.mysite.com/download
I have cpanel and shell access to my hosting.
Any help would be much appreciated, thank you.
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'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.
I'm interested in running a reverse proxy with 2-3 virtual machines behind it.
Disclaimer: I am very new to mod_proxy and somewhat new to apache in general.
I have a very simple virtual host with the following configuration:
<VirtualHost *:80>
ServerName myhost.mydomain
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPass /mysite http://www.google.com
ProxyPassReverse /mysite http://www.google.com
</IfModule>
</VirtualHost>