Question

Im using 1&1 with digitalocean so i can enter the server with a web name but i still cant!

Hi! I actually payed for it. For Security reasons i cannot give much information but i will give as much as i can. I bough a domain .com for a year and what i want to do is that when i put in the web the domain, the things of the ip of digital ocean appears : like that: My digital ocean ip : 44.44.134.123 (EXAMPLE) WEB NAME: digitaltesto.com

I want to put digitaltesto.com and want to see all the things from 44.44.34.123,

The problem actually is that i only can access my server writing that: 44.44.134.123:8080 And it seems i need to access with port 80, i added to the interface , refresh, restart things… and still nothing. My teacher said something about if port 80 was watching at netstat at it seems that it wasnt. But i didnt get helped anymore.

So how can i make to enter to the server with the port 80 or some that i dont have to write, so i can enter trough digitaltesto.com? Thanks for your time

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@jorgehurtadodmx

How you’d go about changing the port(s) that the web server is listening on depends on the web server itself.

If you’re using Apache, then you’d need to modify the VirtualHost for the domain and change what I would assume looks like:

<VirtualHost *:8080>
...
...
..
</VirtualHost>

to

<VirtualHost *:80>
...
...
..
</VirtualHost>

If you’re using NGINX, you’d need to modify the server block for your domain, which I would assume looks like:

server {
    listen 8080;
    listen [::]:8080;

    ....
    ....
    ....
}

to

server {
    listen 80;
    listen [::]:80;

    ....
    ....
    ....
}

You’d then restart the web server for the changes to take effect.

Change the port of your application to 80 or use a webserver as a proxy.