subdomain

How may i prevent search engines from crawling a subdomain on my website?

拥有回忆 提交于 2019-12-25 06:06:26
问题 I have cPanel installed on my website. I went to the Domains section on cPanel I clicked on subdomains. I assigned the subdomain name (e.g : personal.mywebsite.com ) It wanted me to assign document root folder also. I assigned mywebsite.com/personal if i create robots.txt in my website root(e.g : website.com) User-agent: Disallow: /personal/ Can it also block personal.mywebsite.com? what should i do? thanks 回答1: When you want to block URLs on personal.example.com , visit http://personal

Serving static content from a subdomain in asp.net using URL Rewrite

天大地大妈咪最大 提交于 2019-12-25 05:57:07
问题 Searched for a few hours with no avail so here goes... I have a domain which is receiving quite a few hits per day and have been asked if I can serve the static content from a subdomain. As the site is quite extensive and already written, I was wondering if there is any way I can use URL rewriting to change: www.example.com/image.gif to static.example.com/image.gif I have a solution which works using 301 redirects but from what I understand, this is counter productive as 2 requests will have

Admin bar doesn't appear on the front-end of a WordPress website

随声附和 提交于 2019-12-25 03:55:59
问题 I have a WordPress installation in a subdomain (http://base.example.com), but I want users to access the front-end from (http://www.example.com). The subdomain is a subfolder within the root of the site. I have copied index.php and .htaccess to the root of my site and changed the path in index.php to point to my subdomain. The website works fine, both the front-end and back-end, but when I login and go to the front-end, I cannot see the admin bar, and it appears as if I am logged out. When I

How to configure windows server 2016 with DNS sub-domains to an IP address in the container

我的梦境 提交于 2019-12-25 03:28:20
问题 I have a windows server 2016 on Azure which I will use as host for windows containers. I want to publish the containers hosted on the Server using a subdomain. Azure gave me a sub-domain such as: myserver.australiaeast.cloudapp.azure.com. Once I've created my windows container I have the internal IP address for my container as 172.26.140.245. What I am trying to achieve is to create a subdomain called "container1" so that if we get any request to: container1.myserver.australiaeast.cloudapp

Accessing WP admin of a multisite with expired domain

南笙酒味 提交于 2019-12-25 03:12:01
问题 I got a multisite network, and got subsites on it, unfortunately the main domain has expired, and I cannot access my WP admin. I don't worry about the main site but I need to have the subsite. I am able to access the main site using the IP but not its WP admin. I tried following this but it didn't help. I saw a way via accessing database (this method) but I couldn't access database as its hosted in Digital Ocean, it's pretty hard without a control panel. want a way to access main sites WP

htaccess subdomain redirect

天涯浪子 提交于 2019-12-25 02:43:34
问题 I've searched around and tried a few different ways but can't get this to work. I don't actually have the subdomains set up, but will have about 30 similar redirects that I need to do. E.g: sub-domain.domain.co.uk needs to go to http://www.domain.com/folder/page-name There will be hyphens in almost every subdomain and every 'page-name', so I'm not sure if this affects the regex formatting. Any help would be much appreciated! Thanks 回答1: You need to use the %{HTTP_HOST} variable and match it

Single Sign On with SubDomains

时光怂恿深爱的人放手 提交于 2019-12-25 01:31:46
问题 Please I would like to know how to implement Single Sign On across subdomains running on a mixture of programming platforms, asp.net and php? 回答1: You could use cookies if the top level domain is the same. There's an article on CodeProject. 回答2: I know this is old but I thought I would answer this for others stumbling across this via google search. For Single Sign On across platforms you probably want to implement a SAML based solution. SAML stands for Security Assertion Markup Language and

htaccess for subdomain and url rewrite

梦想与她 提交于 2019-12-25 01:28:23
问题 I'm in trouble with this .htaccess RewriteCond %{HTTP_HOST} appname.domain.com RewriteCond %{REQUEST_URI} !appname/ RewriteRule ^(.*)$ /appname/$1 [L] In the document root (not really the root document, let's say a v-domain folder) i have this folder called 'appname'. On appname.domain.com everything shows up fine as it should. Now my problem is when I want to do something like this http://appname.domain.com/somefolder I don't want the url to be rewritten to appname.domain.com/appname

How to create sub.domain for user opon sign up

坚强是说给别人听的谎言 提交于 2019-12-24 22:22:58
问题 I am using php/mysql on linux servers. I want to create a user sub domain for each user upon sign up. For instance, john doe --> johndoe.example.com The issue is, we are going to allow customizations such as adding custom features for clients wanting customizations. So, is it better we automate the process or manually create sub domains for clients requiring customizations and let other users just use basic login? And how can i automate the process if need be? 回答1: Instead of creating

How do I map IIS virtual directory to a subdomain?

狂风中的少年 提交于 2019-12-24 21:17:30
问题 Currently, I have a website mapping as following http://subdomain.domain.com/<virtualdir> to http://<IP Address>/<virtualdir> I want the virtual directory to be accessed with just the subdomain: http://subdomain.domain.com/ so that it points to http://<IP Address>/<virtualdir> Im using IIS 10, windows server 2016. What are my possible options? 回答1: If I understand your question correctly you want http://subdomain.domain.com/ to be accessible by the plain URL http://subdomain.domain.com. If