Subdomain linked to a subdirectory? [closed] - .htaccess

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm trying to set up my own cloud network and just got it to work the way I want it to, but I was hoping to linking it to a domain I own over at Godaddy. I want to use a subdomain for the cloud-thingy, but I don't want to link it to the ip alone. I'd rather link it to i.e "11.222.333.44/storage", instead of just "11.222.333.44" so I can still host a website at my domain's root

It seems like you need a Name-based Virtual Host, read the Apache docs.

Related

What DNS requirements do I need to map one domain to another? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have my first site at http://www.example.com/members/quiz.php?qid=My-quiz which queries a database.
I would like to display the exact content for each quiz under my second site: http://www.mysecondsite.example/quiz.php?qid=My-quiz
I am new to DNS so I know this is probably a simple question. What do I need to do on both domains to make this work?
You cannot solve this issue solely with DNS. With DNS all you can say that the IP address for www.example.com is the same as that for www.mysecondsite.example.
Your webserver has to understand that any requests for www.mysecondsite.example are actually the same as that for www.example.com and has to fulfil or redirect those requests appropriately. Depending on your webserver, search the manual for the topic on redirecting/forwarding requests.

URL Forwarding or CNAME for github pages [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I've set up a github page with a custom subdomain like sub.abc.com, and I also want the domain abc.com redirects to the subdomain(show subdomain in the browser's address bar). So, which method should I take, 302 URL Forwarding or CNAME? Thanks.
I have got an answer form github's technical support staff via email, and he said that I should use URL Forwarding rather than CNAME. Hope this can be helpful for others who meet the same problem.

Curl Scripts in /etc/hosts on Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is it possible to add scripts (like curl) to /etc/hosts? I am trying to set up a subdomain over ddns, and it's really hard to update my /etc//hosts file on the fly when my IP address updates without my knowledge. Thanks in advance.
No it's not. However, you will probably have some scripts that can be triggered when you get an IP address or something similar and those can be used to rewrite your /etc/hosts.

Is www a subdomain? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I recently purchased something.com.
When I visit something.com from my browser, I get the index page I uploaded on server.
However, if I visit www.something.com, it shows Error 404.
So I create a sub-domain named 'www' and upload another index file there.
Now, www.something.com and something.com shows two different websites.
My question is, is 'www' a normal sub-domain? Or some special kind of sub-domain? If yes, how is it different from other sub-domains?
is 'www' a normal sub-domain? Yes, it is. From the point of view of DNSs it is a totally normal subdomain.
is some special kind of sub-domain? Yes, it is, indeed. It is so commonly used that most Registrars and Hosting providers do automatically create it for you and permanently redirect it to the web server hosted with them.
in your case, it seems that this is not what happens. So, create it and permanently redirect it, instead of creating a new index page for it.

Was my website hacked? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am using a company called web-stat to watch for people visiting our website and noticed an entry page of "127​.0​.0​.1:4664/preview" rather than the url of the website or the url of a page.
Does this mean that someone has or is trying to hack our website?
Thanks
Requests to 127.0.0.1:4664/preview are likely from Google Desktop.
Security information about Google Desktop at SMB Security
To know for sure, you should inspect the TCP conversation and source endpoint to observe what exactly is making the requests.

Resources