Duplicated site name after publish [closed] - asp.net

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
Currently I am refactoring the site written on ASP.NET MVC5.
It already has published-version on some remote server (Windows Server 2012, IIS). Every time after some code refactored I do publish again and replace some folders\files on remote server.
What I found and want to know if it is a bug or something else :
In Debug mode I can access site only as localhost:**** and it is correct.
After publish everybody can access site by two url : 'sitename.com' (OK) or 'sitename.sitename.com' (Hmm?). 'sitename.sitename.sitename.com' doesn't work - OK. I think this happened because of some settings of IIS\Server isn't it?
It is not the urgent problem, but I want to know why it happened. Currently I can't contact to previous developers, what is the sad moment.

It seems that "sitename.sitename.com" is a subdomaian of sitename.com go to Your hosting provider control panel and deactivate sitename.sitename.com subdomain.

Related

How do I publish a website made with Symfony? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have made a website with Symfony. It works fine on my local server but when I try to publish it on my hosting space (OVH), I've got an "Index of" error.
Home page - error "Index of"
I know people who use Symfony the same way I did and their websites work.
So what could be the problem ?
Thank you.
Your webserver seems be not configured properly.
You should follow this piece of doc and ask here if you have any problem.
You can find a detailed process about how to deploy Symfony applications here:
https://symfony.com/doc/current/deployment.html
Also, you can find here (in Spanish, but you can easily translate) how to config Symfony 2 Applications, it's easier to adapt to Symfony 4.
https://symfony.es/documentacion/como-configurar-bien-apache-para-las-aplicaciones-symfony2/

Possible vulnerability within my application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Apologies if this is in the wrong category. I'm currently developing and application in ASP, due to my inexperience with ASP I'm worried about vulnerabilities that a user can exploit.
My application is being coded from scratch, no templates used or defaults from Visual Studio, completely blank projects. The user is greeted with a login page where depending on there user access in active directory depends on which pages the user can access.
The exploit I'm worried about is if the user will be able to commit a directory traversal and access a page in which they're not allowed to access and change critical information.
I'm afraid my inexperience has caught up with me. Could someone explain to me how I could limit the access to the user or, If I'm over thinking the process, correct me? Constructive criticism is accepted.
Microsoft does try to help protect your application through their defaults, so if you're running in IIS, make sure the user the application pool is running under only has write access to the folders it needs to write into.
This is a very open-ended question and depends on many factors such as version of .net, server OS/IIS version, other handlers installed, etc. But a good start is to review the OWASP Top 10:
https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project#OWASP_Top_10_for_2013
Here's a list of some automated tools you can use for testing your implementation:
https://geekflare.com/online-scan-website-security-vulnerabilities/

publishing asp.net website for testing on local IIS server [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I am redesigning my company's website. I am not a developer, but have learned as I went along. I am ready to push out my site to a test subdomain, but I can't figure out how to publish it correctly using VS Express for Web 2013. I have multiple problems.
First, we have our own internal IIS server and I have a "site3" folder on the server ready for testing the new site. I can't use Web Deploy or Web Deploy Package. I publish using File System. This seems to sorta work, but no images load and it redirects me to a Login page that I have no intention of using. When I run the site on my local machine, everything works 100% fine - no login page and all site resources load and function perfectly.
Second, when I try to publish, there is no "Release" configuration like I see in online tutorials and MSDN, only "Debug." Is there something I'm missing in the configuration? The publishing? Am I using the wrong framework? This is my first rodeo and I am completely lost.
If anyone wants to look at my completely jacked up site, it's http://site3.tcns.net
EDIT: I'm beginning to think that it has something to do with the fact I have no clue how to configure the web.config file and the default file isn't plug-and-play for a basic website.
I have some idea as to what happened. I accidentally created an MVC solution instead of a basic website.

Uploading problems post Wordpress 3.3 upgrade [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
Having upgraded to version 3.3 I can no longer upload files.
The upload appears to work, progress bar runs without errors.
Metadata can be amended.
When visiting the files URL a 404 occurs.
The file IS NOT written to the uploads directory.
Upload directory has the correct permissions (755)
I'm thoroughly stumped - any ideas anyone?
This issue pertains to the owner of an uploaded file.
In my case the website files were owned by the FTP user, not the web server user. It seems this wasn't an issue in older versions but now is and this caused the problems documented above.

How do I diagnose a failure in the Membership service on an ASP.NET remote site? [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
Yesterday I added a custom MembershipProvider to an ASP.NET web application, but when I deployed the application to its remote host server, it failed. I know I had the login info correct, and I also know that for nearly any exception in the login process, the Login control displays the standard error message, "Your login failed", so I assume something is wrong in the code/config.
What can I do to diagnose what is wrong on the server?
BTW: This weekend I only have FTP access to the server, so no event log, and CustomErrors is already set to Off.
THE END: I was an idiot, and using the wrong query window to check if the my login actually existed on the server.
You can try a couple of things:
Set custom errors to off in the
webconfig and look at what error its
giving
Look at the event log to see
if there is an useful info for this
app
If the above are not fruitful, then go for remote debugging!

Resources