All Questions
22
questions
1
vote
2
answers
269
views
Apache rewrite rule for a folder to a different domain
I need to redirect all requests concerning a folder to another (old) web server called www2 keeping the entire original path, for example
https://www.example.org/thisfolder/maps/map.jsp?id=2345
must ...
0
votes
1
answer
107
views
subdomain vs subfolder in site address
I have a main website, from which users can navigate to several web applications.
I'm trying to decide if the URL for an application should be as a sub-domain or as a sub-directory, namely which of ...
3
votes
1
answer
1k
views
Ubuntu Apache Subdomain not Displaying
Using Ubuntu 18.04
I have my main website www.example.com, all the files are hosted in /var/www/html/ and it works as expected. I would now like to make a new website in a subdomain www.blog.example....
1
vote
1
answer
180
views
Nginx subdomain + subfolder to subfolder
The goal is to load pages from blog.example.com/blog using example.com/blog and all the posts, categories and authors.
location /blog(/.*)$ {
rewrite ^ $1 break;
proxy_set_header Host $host;
...
1
vote
1
answer
227
views
How to show subdomain on subfolder (IIS)
I have a website named: www.website.com
And I have an application named: application.website.com
Those are on different servers.
And now.
I want to show application.website.com on www.website.com/...
-1
votes
2
answers
1k
views
How to configure Nginx to load wordpress site in subfolder? (for api calls)
My project directory structure is as follows:
/var/www/mysite/
backend/
frontend/
where frontend/ contains simple html and js files, and backend/ is a wordpress site. I expose wordpress data ...
2
votes
1
answer
323
views
Make subdomain files only accessible via subdomain
On a shared hosting I have a public_html directory where the site is located. There are multiple subdomains created and they are located in the public_html like public_html/subdomain1, public_html/...
0
votes
0
answers
111
views
What is SEO friendly: blog.brandname.com or www.brandname.com/blog?
www.brandname.com is a Rails app hosted at Heroku.
brandname.wpengine.com is a Wordpress blog hosted at WPEngine.
I know I can't use the DNS (CNAME) to map www.brandname.com/blog to brandname....
2
votes
0
answers
2k
views
Automatically mapping subdomains to directories with Apache 2.4?
I manage a lot of projects on my personal development server. I just upgraded Apache and accidentally reset the configuration files in the process, so I thought this was a good opportunity to optimize ...
0
votes
1
answer
2k
views
Nginx configuration doesn't work with wordpress in subdirectory
I have a nginx installation which I need for hosting web sites in development so that other people can test them out.
Right now I've set up a virtual host for a single sub-domain and in that ...
-1
votes
1
answer
270
views
Should images be stored on a subdomain or subdirectory?
I'm working on a sharing app where images get stored for 24 hours. Does it bring any advantages to store them on a subdomain http://imgs.example.com instead of a subdirectory http://www.example.com/...
1
vote
1
answer
70
views
Show website on one server in subfolder on another server
I have two websites. One website is a microsite developed by someone else, hosted on a subdomain and I would like to serve this website via a URL on the second website, for example:
test.maindomain....
-1
votes
2
answers
248
views
How to load my app from client's domain name
I am building a SAAS product which is hosted on abc.com and i will have few clients with domains client1.com, client2.org, client3.in etc.
Now i want to serve my application to each client on their ...
0
votes
1
answer
175
views
Expose a directory as public but hide another same-level directory
I have a web application that has the following directory structure:
/subdomain_name
/app
/public
This web application is installed for every new user in our VPS. They provide a subdomain ...
1
vote
1
answer
2k
views
Domain mapping subdirectory to external domain
I'm running a Wordpress multisite install where the blogs are created in subdirectories - e.g. www.mydomain.com/blog1, www.mydomain.com/blog2
I need to clarify what I think is and isn't possible with ...
1
vote
2
answers
2k
views
Domain to apache, subdomain or subdirectory to tomcat
I set up an Apache2.2 and Tomcat7 Windows Server. Now I would like to use the domain for the apache and a subdomain or a subdirectory for the tomcat webapps. But I don’t know how to configure the ...
2
votes
1
answer
137
views
Apache issue with VirtualHosts
I am setting up a small website in-place on the production server. While we are finalizing all the settings for the final domain we've located it on dev.domain.com, so that our visitors don't see a ...
5
votes
3
answers
6k
views
nginx: redirect subfolder to subdomain
I'm trying to redirect a subfolder to a subdomain in nginx. I want http://example.com/~meow/ to be redirected to http://meow.example.com/. I tried the following:
location ~ ^/\~meow/(.*)$ {
...
1
vote
3
answers
2k
views
subdomain redirects to subfolder
I have created a subdomain for my website (fr.mohamedkadri.com) and after 24 hours it became active but it redirects to the subfolder that I poited to (mohamedkadri.com/fr)
Is there a problem? why ...
2
votes
2
answers
13k
views
How to make a subdomain record point to a subfolder of my website "godaddy domain manager"?
I have a dedicated server on a webhosting company "not godaddy", and I manage my domains through godaddy.
I want to add a new subdomain and want this domain to point to a certain folder in my website.
...
1
vote
1
answer
988
views
How to redirect a subdomain with subfolders to a domain using the same subfolders and the subdomain itself as parameter?
So I would likte to redirect this url:
http://subdomain.domain.com/subfolder/subsubfolder/
to:
http://www.domain.com/subfolder/subsubfolder/?parameter=subdomain
And also using other, more, less or ...
3
votes
2
answers
3k
views
How do I configure IIS 7 (discount asp.net) to point subdomains at application subdirectories?
I have an discount asp.net account, which uses IIS 7 and I want to configure subdomains to point at specific applications on the site.
For instance:
's1.site.com' would run the application at 'site....