Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Currently im running my site on ipaddress 10.200.2.26:70.i had mapped my ipaddress to domain.net and domain.com.when i tried to map the domain domain.com to http://10.200.2.26:70 it never seems to works.Any suggestion to solve the issue
Hi
when i type domain.com its pointing to 10.200.2.26:80.Currently im trying out to point domain.com to http://10.200.2.26:70.whether i can achieve these redirection using proxypass are else i have to do these redirect configuration using mod rewrite rules.Any suggestion
domain names have NOTHING to do with port numbers, you can't associate one to the other from the clients perspective, that's not how DNS works.
You may well be missing the very point of virtual hosts though. The point being that you use the SAME port and differentiate the content to server based on the host name.
<VirtualHost *:80>
ServerName domain.net
ServerAlias www.domain.net
DocumentRoot ... point the Document root of domain.net and remaining stuff inside your virtualhost
</VirtualHost>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.